#26960 [NEW]: setlocale (LC_CTYPE, 'tr_TR') problem
| From: | robo at baykus dot com | Date: | Mon, 19 Jan 2004 09:35:17 +0000 |
| Subject: | #26960 [NEW]: setlocale (LC_CTYPE, 'tr_TR') problem | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-53566@lists.php.net to get a copy of this message | ||
From: robo at baykus dot com
Operating system: Windows XP Pro EN
PHP version: 4.3.4
PHP Bug Type: *Languages/Translation
Bug description: setlocale (LC_CTYPE, 'tr_TR') problem
Description:
------------
setlocale (LC_CTYPE, 'tr_TR');
echo strtolower("TÜRKÇE KARAKTERLER ÝÇÝN ÇÖZÜM");
The output must be:
türkçe karakterler için çözüm
But there is a problem:
türkçe karakterler ÝçÝn çözüm
Is there any solution?
Reproduce code:
---------------
<?php
setlocale (LC_CTYPE, 'tr_TR');
echo strtolower("TÜRKÇE KARAKTERLER ÝÇÝN ÇÖZÜM");
?>
Expected result:
----------------
türkçe karakterler için çözüm
Actual result:
--------------
türkçe karakterler ÝçÝn çözüm
--
Edit bug report at http://bugs.php.net/?id=26960&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26960&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26960&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26960&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26960&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26960&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=26960&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=26960&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26960&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26960&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26960&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26960&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26960&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26960&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26960&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26960&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26960&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26960&r=float