note 14928 added to function.sort.php

From: Date: Tue, 21 Aug 2001 20:42:21 +0000
Subject: note 14928 added to function.sort.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-16962@lists.php.net to get a copy of this message
I wonder if this sorter can sort arrays containing French content (as string.) I mean, I've created this array : $array[] = "Utilisateurs"; $array[] = "Édition du site Web"; and sort it : $array[0] --> "Utilisateur" $array[1] --> "Édition du site Web"; In French, É is ~ to E, but the sort() function returned me the array in this exact order. How can I fix it to obtain : $array[0] --> "Édition du site Web"; $array[1] --> "Utilisateur" JP. http://www.php.net/manual/fr/function.sort.php

« previous php.notes (#16962) next »