Edit report at https://bugs.php.net/bug.php?id=60933&edit=1

 ID:                 60933
 Comment by:         j dot jeising at gmail dot com
 Reported by:        m...@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:

Patch fixed the problem, test passes.


Previous Comments:
------------------------------------------------------------------------
[2012-02-02 04:50:59] ahar...@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] ahar...@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] ras...@php.net

I just ran it on an Ubuntu 11.10 box and it passed. So then it is environment-
specific somehow.

------------------------------------------------------------------------
[2012-02-01 17:49:59] carloschilazo at gmail dot com

I think its not related to MAC OSX, test failed php5.4-201202011630 ubuntu 11.10

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


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

Reply via email to