Bug #12653: natsort, strnatcmp NOT locale-aware !
| From: | joustin at plusnet dot pl | Date: | Wed, 08 Aug 2001 15:18:02 +0000 |
| Subject: | Bug #12653: natsort, strnatcmp NOT locale-aware ! | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-62568@lists.php.net to get a copy of this message | ||
From: joustin@plusnet.pl
Operating system: Red Hat Linux, Win2000 sp2
PHP version: 4.0.6
PHP Bug Type: Arrays related
Bug description: natsort, strnatcmp NOT locale-aware !
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 bug report at: http://bugs.php.net/?id=12653&edit=1