[pmwiki-users] name a page Gb or GB makes encoding chinese issue (fastcache recipe involved)
5ko at 5ko.fr
Wed Jun 10 13:31:25 CDT 2015
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
See/try the solutions provided here:
http://httpd.apache.org/docs/2.2/content-negotiation.html (check your
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 it
> might have to do with some function used by fastcache for generating
> 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 ? ;)
More information about the pmwiki-users