Last modified: 2010-05-15 15:28:55 UTC
I have these variables set in my LocalSettings.php:
$wgLanguageCode = "en";
$wgUseLatin1 = false;
$wgUseFileCache = true;
$wgUseGzip = false;
So my Wiki is in English/UTF-8.
When an anonymous user is fetching pages from the file cache, my browser
(Mozilla Firefox) detects the page charset wrong. It gets the default httpd
charset instead of UTF-8. While a logged in user, not getting his page from the
file cache, will have his browser detect the page charset correctly as UTF-8.
I tried setting:
$wgInputEncoding = "UTF-8";
$wgOutputEncoding = "UTF-8";
It didn't help. I assume the PHP code which sends pages from the file cache does
not send a proper HTTP Header with charset=UTF-8, while the regular uncached
I have temporarily worked around this via my httpd config, but its a kludge at best.
fixed CacheManager.php in cvs HEAD (v1.11) and REL1_3 (v184.108.40.206)