Bug #60933 [Asn]: Testing asort with SORT_LOCALE_STRING fails on Mac OS X 10.6
| From: | rasmus@php.net | Date: | Thu, 02 Feb 2012 15:29:39 +0000 |
| Subject: | Bug #60933 [Asn]: Testing asort with SORT_LOCALE_STRING fails on Mac OS X 10.6 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-167066@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60933&edit=1
ID: 60933
Updated by: rasmus@php.net
Reported by: mgdm@php.net
Summary: Testing asort with SORT_LOCALE_STRING fails on Mac
OS X 10.6
Status: Assigned
Type: Bug
Package: Arrays related
Operating System: Mac OS X 10.6
PHP Version: 5.4SVN-2012-01-30 (SVN)
Assigned To: aharvey
Block user comment: N
Private report: N
New Comment:
Looks good, commit.
Previous Comments:
------------------------------------------------------------------------
[2012-02-02 14:18:51] j dot jeising at gmail dot com
Patch fixed the problem, test passes.
------------------------------------------------------------------------
[2012-02-02 04:50:59] aharvey@php.net
The following patch has been added/updated:
Patch Name: bug-60933-locale-sort-test
Revision: 1328158259
URL: https://bugs.php.net/patch-display.php?bug=60933&patch=bug-60933-locale-sort-test&revision=1328158259
------------------------------------------------------------------------
[2012-02-02 04:50:40] aharvey@php.net
I think this may just be nothing more than the default fr_FR locale selected on OS
X nowadays simply being UTF-8 by default these days, which obviously fails to sort
an ISO-8859-1 array correctly.
Can people who've had this fail try the attached patch and see if it fixes the
problem, please?
------------------------------------------------------------------------
[2012-02-02 00:55:36] j dot jeising at gmail dot com
Only failed test for me too (Mac OS X 10.6.8). Any environment specific details we
could provide to reproduce this? (LANG="de_DE.UTF-8", LC_CTYPE="en_US.UTF-8")
------------------------------------------------------------------------
[2012-02-01 19:32:31] rasmus@php.net
I just ran it on an Ubuntu 11.10 box and it passed. So then it is environment-
specific somehow.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=60933
--
Edit this bug report at https://bugs.php.net/bug.php?id=60933&edit=1