Bug #12653 Updated: natsort, strnatcmp NOT locale-aware !
| From: | yohgaki@php.net | Date: | Wed, 27 Feb 2002 02:42:44 +0000 |
| Subject: | Bug #12653 Updated: natsort, strnatcmp NOT locale-aware ! | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-1142@lists.php.net to get a copy of this message | ||
ID: 12653
Updated by: yohgaki@php.net
Reported By: joustin@plusnet.pl
-Status: Open
+Status: Bogus
Bug Type: Arrays related
Operating System: Red Hat Linux, Win2000 sp2
PHP Version: 4.0.6
New Comment:
The version of PHP that this bug was reported in is too old. Please
try to reproduce this bug in the latest version of PHP (available
from http://www.php.net/downloads.php
If you are still able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2001-08-08 11:18:02] joustin@plusnet.pl
I've found out that the "Natural Sorting Algorithm" routines used by
PHP are locale-unaware, probably sorting using the default english
character set for reference.
Additionally, the link to "Natural Order String Comparison page" in
manual seems to be dead.
sigh :(
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=12653&edit=1