ID: 26960
Updated by: [EMAIL PROTECTED]
Reported By: robo at baykus dot com
-Status: Open
+Status: Bogus
Bug Type: *Languages/Translation
Operating System: Windows XP Pro EN
PHP Version: 4.3.4
New Comment:
Use the correct locale. (they're different in windows!)
For turkish it's, surprisinly, 'turkish'. (or 'trk')
Previous Comments:
------------------------------------------------------------------------
[2004-01-19 04:35:16] robo at baykus dot com
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 this bug report at http://bugs.php.net/?id=26960&edit=1