if (????Metninin_karakter_ kodlamasi($Metin) == ISO-8859-9 ){ echo $str = mb_convert_encoding($Metin, "UTF-8","ISO-8859-9"); }else { echo $Metin }