From: agri at desnol dot ru Operating system: linux PHP version: 4.3.4 PHP Bug Type: mbstring related Bug description: php dont convert case of characters in multibyte (utf-8) string
Description: ------------ functions ucfisrst ... strtoupper and so on do not convert case of non-latin chars in utf8 string i.e. if setlocale (en_US.utf8). In my script i want to convert case of cyrillic chars. i'm using ru_RU.utf8 (it doesn't metter en_US or ru_RU.. according to glibc locale all of them use the same table of conversion... i checked both). i looked through the source of those functions and there are byte-by-byte convertion of chars... of course it won't work for utf-8. -- Edit bug report at http://bugs.php.net/?id=27047&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27047&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27047&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27047&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27047&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27047&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27047&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27047&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27047&r=support Expected behavior: http://bugs.php.net/fix.php?id=27047&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27047&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27047&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27047&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27047&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27047&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27047&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27047&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27047&r=float
