From:             [EMAIL PROTECTED]
Operating system: windows 2000 hun
PHP version:      4.2.3
PHP Bug Type:     *Languages/Translation
Bug description:  strcoll doesn't work

due to strcoll() was enabled in php 4.2.3 it doesn't works on my windows

--
setlocale("LC_ALL","hu_HU");

$tomb=array("alma","ban�n","banan","b�nan","BAN�N","B�N�N","bAnan","B�Nan","hami","Banyeksr�c","b�N�n","bynek");


usort($tomb, create_function('$a,$b','return
strcoll(strtoupper($a),strtoupper($b));'));
--

gives:
tomb[2] = bAnan 
tomb[3] = Banyeksr�c 
tomb[4] = BAN�N 
but '�' is before than 'y'

this script works on linux...

-- 
Edit bug report at http://bugs.php.net/?id=20468&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20468&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20468&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20468&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20468&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20468&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20468&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20468&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20468&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20468&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20468&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20468&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20468&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20468&r=isapi

Reply via email to