Forum Moderators: coopster
header('Content-type: application/xml; charset="UTF-8"',true);
echo '<?xml version="1.0" encoding="UTF-8"?>';
echo "\n";
echo '<rss version="2.0">';
echo "\n";
echo '<channel>';
echo "\n";
echo '<title>'.get_option('title').'</title>';
echo "\n";
echo '<link>'.URL.'</link>';
echo "\n";
echo '<description>'.get_option('description').'</description>';
...
The problem is that some data in "description" contains some of this characters: αινσϊ, and they all get converted to a '?'.
How can I avoid this problem and still show the appropiate character in the rss output? Is there a way to convert the get_option('description') to utf8 data?
Thanks,
Andres