Last modified: 2010-05-15 15:33:04 UTC
On a site with $wgUseLatin1=true (e.g. en.wikipedia.org) where a user chooses a different UI language preference, some UTF8-encoded messages get converted twice, producing ? characters. Probably every function in LanguageLatin1.php with utf8_decode is suspect. Examples can be seen in Special:Preferences with toggle fields, and in article histories with month abbreviations.
The problem is specifically with those Language methods which work by calling wfMsg() -- which implicitly converts already if $wgLang is a LanguageLatin1 proxy. It's also an unsafe general practice, as these functions may not work correctly with wfMsgForContent() or anything else where you're asking for info from something that's not $wgLang.
Fix for this and bug 1744 checked in on REL1_4, will be in 1.4.1. Patch: http://mail.wikipedia.org/pipermail/mediawiki-cvs/2005-March/007192.html http://mail.wikipedia.org/pipermail/mediawiki-cvs/2005-March/007190.html