[pmwiki-users] name a page Gb or GB makes encoding chinese issue (fastcache recipe involved)
languefrancaise at gmail.com
Wed Jun 10 17:01:50 CDT 2015
Well, well, well, I guess it's bingo, Petko ; nice shot.
AddCharset UTF-8 .Gb
at the beginning of .htaccess seems to fix that truly unexpected issue and
w3c i18n validator is ok now.
2015-06-10 20:31 GMT+02:00 Petko Yotov <5ko at 5ko.fr>:
> 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.
> See/try the solutions provided here:
> http://httpd.apache.org/docs/2.2/content-negotiation.html (check your
> Apache version)
> On 2015-06-10 18:17, ABClf wrote:
>> I'm struggling for hours with an annoying and strange encoding issue for a
>> few pages, at this time only for pages which are cached by fastcache
>> AND (that is the funny part) are named Gb or GB (my initials).
>> This is probably be a fastcache recipe limited issue, but there is
>> something very special here as it sounds like it does happen only for
>> names Gb or GB, no matter the group they belong to (tested with Profils
>> For these pages, when user is anonym, fastcache quickly serves a cached
>> version of the page where special characters have become chinese ones.
>> For other pages, including GbTest, all is fine (if I'm not wrong).
>> After struggling and struggling, I found out that gb2312 and gbk (and
>> others) are chinese encoding and I guess I have found the culprit ; thus
>> might have to do with some function used by fastcache for generating its
>> cached page. Many of them use PmWiki mecanism.
>> What do you think ? is "gb" used for pagename the culprit ?
>> Any idea how to fix it, or do I have to change my name ? ;)
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users