#29955 [Fbk->Opn]: Support for Turkish/iso-8859-9
| From: | jan at horde dot org | Date: | Thu, 23 Aug 2007 16:33:47 +0000 |
| Subject: | #29955 [Fbk->Opn]: Support for Turkish/iso-8859-9 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-116563@lists.php.net to get a copy of this message | ||
ID: 29955
User updated by: jan at horde dot org
Reported By: jan at horde dot org
-Status: Feedback
+Status: Open
Bug Type: mbstring related
Operating System: Linux
PHP Version: 5CVS, 4CVS (2004-09-02)
Assigned To: hirokawa
New Comment:
No. The conversion has to be done this way for iso-8859-9 always, not
only if the current locale is Turkish. Turkish is the only language that
uses this charset.
Previous Comments:
------------------------------------------------------------------------
[2007-08-17 22:19:19] hirokawa@php.net
This change is already back ported to PHP 5.2.
In my understanding, it shouldn't always applied to ISO-8859-9,
because the conversion result is depends on the locale.
(correct ?)
------------------------------------------------------------------------
[2007-01-05 14:33:51] jan at horde dot org
Oh, and by the way, this conversion should always happen for
iso-8859-9, not only if mbstring.language is set to Turkish, because
this is completely useless in real world applications.
------------------------------------------------------------------------
[2007-01-05 14:31:12] jan at horde dot org
Any chance this is going to be backported to PHP 5.2? I guess mbstring
is going to be obsolete with the Unicode and ICU support in PHP 6.
------------------------------------------------------------------------
[2005-12-23 14:56:27] hirokawa@php.net
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)
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
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