php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10749 Does it exist some way how to sort Czech texts inside arrays
Submitted: 2001-05-09 09:29 UTC Modified: 2001-06-03 23:42 UTC
From: kirchner at cm-sec dot cz Assigned:
Status: Closed Package: Arrays related
PHP Version: 4.0.4pl1 OS: Windows 98
Private report: No CVE-ID: None
 [2001-05-09 09:29 UTC] kirchner at cm-sec dot cz
Czech language use ISO 8859-2 charset or WIN 1250 (which is "typical" Windows product) under Windows.

Is seams so, that using function setlocale() umder Windows does not work.

More, our sorting is quite difficult - for example we have special character "ch" and several characters with interpunction.

Do you prepare some feature that will solve this problem?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-09 10:41 UTC] elixer@php.net
strcoll() was added in PHP 4.0.5 which sorts based on the currect locale.  Try upgrading and seeing if using that function helps.

Sean
 [2001-06-03 23:42 UTC] sniper@php.net
reopen if not..

 [2002-04-21 06:22 UTC] bs_php at infeer dot com
Confirming your bug (PHP 4.1.2 on W2k)
setlocale() on windows is the problem!
See bug #16718 
http://bugs.php.net/bug.php?id=16718
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 13:01:28 2024 UTC