php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23238 strnatcmp, strnatcasecmp not locale aware
Submitted: 2003-04-16 05:01 UTC Modified: 2003-04-16 16:02 UTC
From: mikael at chl dot chalmers dot se Assigned:
Status: Not a bug Package: *Languages/Translation
PHP Version: 4.3.0 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mikael at chl dot chalmers dot se
New email:
PHP Version: OS:

 

 [2003-04-16 05:01 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-16 16:02 UTC] moriyoshi@php.net
Please do not register an entry that is identical to the older one. Add further comments here => bug #19795.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 06:01:30 2024 UTC