ID: 36486
Updated by: [EMAIL PROTECTED]
Reported By: bojidar at bojidar dot com
-Status: Open
+Status: Bogus
Bug Type: Strings related
Operating System: linux
PHP Version: 4.4.2
New Comment:
Use setlocale() to set appropriate locale before that.
Previous Comments:
------------------------------------------------------------------------
[2006-02-22 13:13:19] bojidar at bojidar dot com
Description:
------------
Hello,
The function strtoupper is NOT functioning properly with Cyrillic on
ALL of our domains.
<?
echo strtoupper("ßí Áèáèÿí");
?>
When you search for term or phrase with capital letters and search for
the same term or phrase in low cap, it appears that the results are
completely different (they shouldnt be).
For instance: search for "ßÍ ÁÈÁÈßÍ" and then try searching for "ßí
Áèáèÿí" to see what I mean. Click on the links below and see the search
results:
http://www.yanbibiyan.com/articlesearch.php?str=ßí%20Áèáèÿí
http://www.yanbibiyan.com/articlesearch.php?str=ßÍ%20ÁÈÁÈßÍ
Any suggestions how this issue can be corrected would be gladly
appreciated?
Please advice?
Thanks
Bob
Reproduce code:
---------------
<?
echo strtoupper("ßí Áèáèÿí");
?>
Expected result:
----------------
ßÍ ÁÈÁÈßÍ
Actual result:
--------------
see description above
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36486&edit=1