i have page and it has,
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
when i try to change string with strtolower(). it is not working on "Ç,Ö,Ü,Ä,Å".
example,
$str= "ÇaTPÖ";
$str = strtolower($str);
//$str = "ÇatpÖ";
also i try to change them with ereg_replace(), but not working again.
$str = ereg_replace("Ç","ç",$str);
$str = ereg_replace("Ö","ö",$str);
so what's the problem do you think?
Try mb_strtolower():
$str = mb_strtolower($str, 'windows-1254');
http://www.php.net/manual/en/function.mb-strtolower.php
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With