#23238 [NEW]: strnatcmp, strnatcasecmp not locale aware

From: Date: Wed, 16 Apr 2003 10:01:34 +0000
Subject: #23238 [NEW]: strnatcmp, strnatcasecmp not locale aware
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37746@lists.php.net to get a copy of this message
From: mikael at chl dot chalmers dot se Operating system: Linux PHP version: 4.3.0 PHP Bug Type: *Languages/Translation Bug description: strnatcmp, strnatcasecmp not locale aware 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 bug report at http://bugs.php.net/?id=23238&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23238&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23238&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23238&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23238&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23238&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23238&r=support Expected behavior: http://bugs.php.net/fix.php?id=23238&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23238&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23238&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23238&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23238&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23238&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23238&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23238&r=gnused

« previous php.bugs (#37746) next »