<div dir="ltr"><div class="gmail_default" style="font-family:'courier new',monospace">Well, well, well, I guess it's bingo, Petko ; nice shot.</div><div class="gmail_default" style="font-family:'courier new',monospace">Writing :</div><div class="gmail_default" style><font face="courier new, monospace">AddCharset UTF-8 .Gb </font><br></div><div class="gmail_default" style><font face="courier new, monospace">at the beginning of .htaccess seems to fix that truly unexpected issue and w3c i18n validator is ok now.</font></div><div class="gmail_default" style><br></div><div class="gmail_default" style><font face="courier new, monospace">Thank you,</font></div><div class="gmail_default" style><font face="courier new, monospace">Gilles.</font></div><div class="gmail_default" style><font face="courier new, monospace"><br></font></div><div class="gmail_default" style><font face="courier new, monospace"><br></font></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-10 20:31 GMT+02:00 Petko Yotov <span dir="ltr"><<a href="mailto:5ko@5ko.fr" target="_blank">5ko@5ko.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I suspect this is the Apache "content negociation" feature which thinks a file named *.gb is in the GB2312 encoding, so you may need to configure it.<br>
<br>
See/try the solutions provided here:<br>
<br>
  <a href="http://httpd.apache.org/docs/2.2/content-negotiation.html" target="_blank">http://httpd.apache.org/docs/2.2/content-negotiation.html</a> (check your Apache version)<br>
  <a href="http://stackoverflow.com/questions/913869/" target="_blank">http://stackoverflow.com/questions/913869/</a><br>
  <a href="http://htmlpurifier.org/docs/enduser-utf8.html" target="_blank">http://htmlpurifier.org/docs/enduser-utf8.html</a><br>
<br>
Petko<div><div class="h5"><br>
<br>
On 2015-06-10 18:17, ABClf wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm struggling for hours with an annoying and strange encoding issue for a<br>
few pages, at this time only for pages which are cached by fastcache recipe<br>
AND (that is the funny part) are named Gb or GB (my initials).<br>
<br>
This is probably be a fastcache recipe limited issue, but there is<br>
something very special here as it sounds like it does happen only for pages<br>
names Gb or GB, no matter the group they belong to (tested with Profils and<br>
Test).<br>
<br>
For these pages, when user is anonym, fastcache quickly serves a cached<br>
version of the page where special characters have become chinese ones.<br>
For other pages, including GbTest, all is fine (if I'm not wrong).<br>
<br>
After struggling and struggling, I found out that gb2312 and gbk (and maybe<br>
others) are chinese encoding and I guess I have found the culprit ; thus it<br>
might have to do with some function used by fastcache for generating its<br>
cached page. Many of them use PmWiki mecanism.<br>
<br>
What do you think ? is "gb" used for pagename the culprit ?<br>
Any idea how to fix it, or do I have to change my name ? ;)<br>
</blockquote>
<br>
<br></div></div>
_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com" target="_blank">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
</blockquote></div><br></div>