ID:               29955
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jan at horde dot org
-Status:           Assigned
+Status:           Open
 Bug Type:         mbstring related
 Operating System: Linux
 PHP Version:      5CVS, 4CVS (2004-09-02)
 Assigned To:      moriyoshi


Previous Comments:
------------------------------------------------------------------------

[2005-08-08 00:18:22] [EMAIL PROTECTED]

Are you going to fix this or not? If not, change the status to 'wont
fix'.


------------------------------------------------------------------------

[2005-05-13 08:00:26] [EMAIL PROTECTED]

Turkish locale would need complete overhaul on the 
entire extension because the locale's character 
properties and required case folding behaviour are very 
special.

PHP-ICU extension could support anything, but that's 
just an ongoing work by l0t3k.


------------------------------------------------------------------------

[2005-05-13 02:26:18] mustafa at deu dot edu dot tr

I get the same results like jan.

I need to get UTF-8 output for consuming a web service and I configured
my php 5.0.4 with --enable-mbstring=all parameter (on linux that has
been set with Turkish locale)

I see that mbstring extension has limited language support in source
code. (German, English, Japanese, Korean, Russian, Chinese)

Is there a way to add our (Turkish) language to source code? Any
references about this extension's source?

------------------------------------------------------------------------

[2005-02-22 11:10:06] [EMAIL PROTECTED]

It turned out this is because mbstring doesn't take the 
locale into consideration.



------------------------------------------------------------------------

[2004-09-02 17:15:42] 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');




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=29955&edit=1

Reply via email to