From:             jan at horde dot org
Operating system: Linux
PHP version:      4CVS-2004-09-02 (stable)
PHP Bug Type:     mbstring related
Bug description:  mb_strtoupper() / lower() broken with iso-8859-9

Description:
------------
In ISO-8859-9 (Turkish) the uppercase letter of "i" is a dotted uppercase
"I", the lowercase letter of "I" is a dotless "i". But mb_strtolower() und
mb_strtoupper() simply return the ASCII uppercase or lowercase
counterparts.

You get the correct result with:
setlocale(LC_ALL, 'tr_TR');
echo strtoupper('i');
echo strtolower('I');

But the wrong results with:
echo mb_strtoupper('i', 'iso-8859-9');
echo mb_strtolower('I', 'iso-8859-9');



-- 
Edit bug report at http://bugs.php.net/?id=29955&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=29955&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29955&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29955&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=29955&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=29955&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=29955&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=29955&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=29955&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=29955&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=29955&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=29955&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=29955&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=29955&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=29955&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=29955&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=29955&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=29955&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=29955&r=float

Reply via email to