#29955 [Asn->Fbk]: mb_strtoupper() / lower() broken with some locale
| From: | hirokawa@php.net | Date: | Fri, 23 Dec 2005 13:56:29 +0000 |
| Subject: | #29955 [Asn->Fbk]: mb_strtoupper() / lower() broken with some locale | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-90935@lists.php.net to get a copy of this message | ||
ID: 29955
Updated by: hirokawa@php.net
Reported By: jan at horde dot org
-Status: Assigned
+Status: Feedback
Bug Type: mbstring related
Operating System: Linux
PHP Version: 5CVS, 4CVS (2004-09-02)
Assigned To: hirokawa
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php6.0-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php6.0-win32-latest.zip
Turkish language support is added in CVS HEAD.
When mbstring.language = Turkish,
Turkish case filding will be performed in ISO-8859-9.
(upper:0x69 -> 0xdd, lower:0x49->0xfd)
Otherwise, normal case folding is performed.
(upper:0x69 -> 0x49, lower:0x49->0x69)
Previous Comments:
------------------------------------------------------------------------
[2005-12-23 14:28:29] derick@php.net
"man iso-8859-9" will tell you.
"i" maps to "0xdd"
and
"0xfd" maps to "I"
See also:
http://www.eki.ee/letter/chardata.cgi?lang=tr+Turkish&script=latin
------------------------------------------------------------------------
[2005-12-23 14:24:06] jan at horde dot org
See http://www.gymel.com/charsets/ISO8859-9.html#U0069
and
http://www.gymel.com/charsets/ISO8859-9.html#U0049
under "Bemerkungen:"
(remarks).
------------------------------------------------------------------------
[2005-12-23 14:10:05] hirokawa@php.net
I don't know which is the standard way (0x49 or 0xdd).
In ISO-8859-9 (Turkish),
upper case of 'i' (0x69) always should be translated to 'I'
with dot (0xdd) ?
If yes, please let me know some URLs which describe
the mapping.
------------------------------------------------------------------------
[2005-12-21 23:22:57] sniper@php.net
Rui, yet another for you. Moriyoshi seems to have vanished..
------------------------------------------------------------------------
[2005-08-08 00:18:22] sniper@php.net
Are you going to fix this or not? If not, change the status to 'wont
fix'.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/29955
--
Edit this bug report at http://bugs.php.net/?id=29955&edit=1