|
Türkçe Karakterleri Latin1 yapan Fonksiyon
Sep 25,2008 00:00
by
canawar
function tr2latin1($text) { $text = str_replace("ý","ı",$text); $text = str_replace("Ý","İ",$text); $text = str_replace("þ","Ş",$text); $text = str_replace("Þ","ş",$text); $text = str_replace("ð","ğ",$text); $text = str_replace("Ð","Ğ",$text); $text = str_replace("ö","ö ;",$text); $text = str_replace("Ö","Ö",$text); $text = str_replace("Ü","Ü",$text); $text = str_replace("ü","ü",$text); $text = str_replace("Ç","Ç",$text); $text = str_replace("ç","ç",$text); return $text; } |