2008-12-26, 08:45 AM
can we convert rss feed's charset before it parsed? for example board is utf, rss feed is latin
if we now special chars can we change rss feed to utf with like this codes?
if we now special chars can we change rss feed to utf with like this codes?
function turkce($str){
$chr=array('Ş'=>'Å?','ş'=>'ÅŸ','Ğ'=>'Ä?','İ'=>'Ä°','ı'=>'ı','Ç'=>'Ç','ç'=>'ç','ğ'=>'ÄŸ','Ö'=>'Ö','ö'=>'ö','ü'=>'ü','Ü'=>'Ãœ');
foreach ($chr as $key => $value) {
$str=str_replace($value,$key,$str);