#23238 [Opn->Bgs]: strnatcmp, strnatcasecmp not locale aware

From: Date: Wed, 16 Apr 2003 21:02:30 +0000
Subject: #23238 [Opn->Bgs]: strnatcmp, strnatcasecmp not locale aware
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37776@lists.php.net to get a copy of this message
 ID:               23238
 Updated by:       moriyoshi@php.net
 Reported By:      mikael at chl dot chalmers dot se
-Status:           Open
+Status:           Bogus
 Bug Type:         *Languages/Translation
 Operating System: Linux
 PHP Version:      4.3.0
 New Comment:

Please do not register an entry that is identical to the older one. Add
further comments here => bug #19795.



Previous Comments:
------------------------------------------------------------------------

[2003-04-16 05:01:34] mikael at chl dot chalmers dot se

Resubmission of http://bugs.php.net/bug.php?id=19795 since it has
been
closed down but still exists in 4.3.0, haven't tested in any newer
versions.

Sorting strings containing national characters such as the swedish åäö
etc places them in the wrong order when using the natural cmp functions
(strnatcmp, strnatcasecmt) and possibly the same is true for the array
functions (natcmp, natcasecmp). The regular string functions (strcmp,
strcasecmp) works correctly though.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=23238&edit=1



Thread (2 messages)

« previous php.bugs (#37776) next »