#22931 [Opn->Asn]: Array Sort/Multisort -> wrong string sorting with special, national characters
| From: | moriyoshi@php.net | Date: | Thu, 27 Mar 2003 16:47:09 +0000 |
| Subject: | #22931 [Opn->Asn]: Array Sort/Multisort -> wrong string sorting with special, national characters | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-36594@lists.php.net to get a copy of this message | ||
ID: 22931
Updated by: moriyoshi@php.net
Reported By: marek at lewczuk dot com
-Status: Open
+Status: Assigned
Bug Type: Arrays related
Operating System: Linux/Windows
PHP Version: 4.3.0
-Assigned To:
+Assigned To: moriyoshi
New Comment:
This may be fixed in PHP5.
Previous Comments:
------------------------------------------------------------------------
[2003-03-27 10:24:08] marek at lewczuk dot com
Sorry... I have read about usort and strcoll -> yes it's working with
setLocale, but... array_multisort still not working ??
------------------------------------------------------------------------
[2003-03-27 10:16:31] marek at lewczuk dot com
Sorting an array has a very important bug. If your app is using e.g.
ISO-8859-2 charset and strings array use special chars like Å,Ä...
PHP doesn't sort strings which use them. I have tried to use setLocale
(setLocale is working correctly with strtoupper, strtolower etc.) but
nothing. The problem is also in UTF8 charset. This very serious
problem...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22931&edit=1