[pmwiki-users] strftime and latest changes on French servers

Petko Yotov 5ko at 5ko.fr
Thu Dec 1 18:59:04 CST 2011


On Friday 02 December 2011 01:08:12, Eric Forgeot wrote :
> on free.fr servers, when I use pmwiki, the latest changes' date is
> written using iso-8859, which renders the date with wrong characters,
> such as "d�cembre".
> 
> Do you know a workaround to get the correct encoding (in utf8)?

If you use the PmWikiFr.XLPage translations, modify the 'Locale' entry to:

  'Locale' => 'fr_FR.utf8',

(I changed it on pmwiki.org, because the error appeared here too.)

Otherwise, in a config.php file, you can set this line:

  setlocale(LC_ALL, "fr_FR.utf8");

Petko



More information about the pmwiki-users mailing list