Author: mr-smoke
Description:
When using the ~~~~ or ~~~~~ on a localised system (French in my case), it *seems* that the produced string is ISO-8859-1 encoded regardless of PHP's setting. As a result, the string for "summer time" being "heure d'été", the "é" appear as � when read the UTF-8 way.
Since the default charset should now be UTF-8, may I suggest that in Parser.php, lines 3701-3702
$d = $wgContLang->timeanddate( date( 'YmdHis' ), false, false) . ' (' . date( 'T' ) . ')';
be changed to
$d = $wgContLang->timeanddate( date( 'YmdHis' ), false, false) . ' (' . utf8_encode(date( 'T' )) . ')';
?
This "Works For Me (tm)", and I don't think it would break much ...
Regards.
Version: 1.10.x
Severity: minor
OS: Windows Server 2003
Platform: PC