ID: 42393
Updated by: [EMAIL PROTECTED]
Reported By: ivan dot delchev at softconsultgroup dot com
Status: Assigned
Bug Type: mbstring related
Operating System: Windows XP
PHP Version: 5.2.3
Assigned To: hirokawa
New Comment:
Please show me mbstring.language setting in php.ini.
Previous Comments:
------------------------------------------------------------------------
[2007-08-23 09:06:53] [EMAIL PROTECTED]
Assigned to mbstring maintainer.
------------------------------------------------------------------------
[2007-08-23 08:06:01] ivan dot delchev at softconsultgroup dot com
Description:
------------
mb_strtoupper is doind wrong transformation for "å" in cyrillic
alphabetic. Whe wrong transformation "å"->"í".
Also the function is not UPPER the string!
Reproduce code:
---------------
// Ensure that the web browser encoding is UTF8 and edit application is
UTF8 compatible!
$main_string = "Òîâà å òåñò. Îòíîâî Òåñò. Êàêâî áè ñå ïîëó÷èëî ñ òîçè
ÒÅÑÒ äà âèäèì!";
var_dump($main_string);
var_dump(mb_strtoupper($main_string));
Expected result:
----------------
Dumped result to be the same. And second string to be UPPER!
Actual result:
--------------
string(120) "Òîâà å òåñò. Îòíîâî Òåñò. Êàêâî áè ñå ïîëó÷èëî ñ òîçè ÒÅÑÒ
äà âèäèì!"
string(120) "Òîâà ï òïñò. Îòíîâî Òïñò. Êàêâî áè ñï ïîëó÷èëî ñ òîçè ÒÅÑÒ
äà âèäèì!"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42393&edit=1