Use this code for Turkish character problems
<? function turkishcharacters( $string ) { $string = str_replace ( 'ç', 'ç', $string ); $string = str_replace ( 'ý','ı',$string ); $string = str_replace ( 'Ç', 'Ç', $string ); $string = str_replace ( 'Ö', 'Ö', $string ); $string = str_replace ( 'Ý', 'Ü', $string ); $string = str_replace ( 'Ð','Ğ',$string ); $string = str_replace ( 'Þ','Ş', $string ); $string = str_replace ( 'Ý','İ', $string ); $string = str_replace ( 'ö','ö', $string ); $string = str_replace ( 'þ','ş', $string ); $string = str_replace ( 'ð','ğ', $string ); $string = str_replace ( 'ü','ü', $string ); $string = str_replace ( 'ý','ı', $string ); $string = str_replace ( '&','&', $string ); return $string; } $postedValue = turkishcharacters($postedValue); echo $postedValue; ?>
Re: Solution (Turkish Character Problem)
where should i paste this code?