PHP :: Bug #29955 :: Support for Turkish/iso-8859-9
| Bug #29955 | Support for Turkish/iso-8859-9 | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Submitted: | 2004-09-02 17:15 UTC | Modified: | 2007-09-04 14:14 UTC |
|
||||||||||
| From: | jan at horde dot org | Assigned: | hirokawa (profile) | |||||||||||
| Status: | Closed | Package: | mbstring related | |||||||||||
| PHP Version: | 5CVS, 4CVS (2004-09-02) | OS: | Linux | |||||||||||
| Private report: | No | CVE-ID: | None | |||||||||||
[2004-09-02 17:15 UTC] jan at horde dot org
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');
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2005-02-22 11:10 UTC] moriyoshi@php.net
[2005-05-13 02:26 UTC] mustafa at deu dot edu dot tr
[2005-05-13 08:00 UTC] moriyoshi@php.net
[2005-12-23 14:10 UTC] hirokawa@php.net
[2007-01-05 14:31 UTC] jan at horde dot org
[2007-01-05 14:33 UTC] jan at horde dot org
[2007-08-17 22:19 UTC] hirokawa@php.net
[2007-08-23 16:33 UTC] jan at horde dot org
[2007-09-04 14:14 UTC] hirokawa@php.net