[pmwiki-users] Accent (sorting in wiklist)

John Rankin john.rankin at affinity.co.nz
Wed May 10 16:46:10 CDT 2006


On Wednesday, 10 May 2006 9:30 AM, malexism at free.fr <malexism at free.fr> wrote:
>John Rankin a écrit :
>>     setlocale (LC_COLLATE, 'fr_FR');
>>     setlocale(LC_ALL, 'french');
>
>They do not run. I don't have error message, but sorting is the
>same...
>
>thanks
>marc

We'll try something else.

in config.php, use setlocale (LC_COLLATE, 'fr_FR');

Then edit the wikiform.php script and in CreateOrderFunction,
change strcasecmp to strcoll.

If that works, I'll update the script to make the compare 
function a variable. 

If it doesn't work, we'll need to ask the list for help.
-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list