Hi Andres, did you try to use utf8_encode??? []'s Jony dos Santos Kostetzer Andres Santos escreveu: > Hi. > My CMS' mysql db collation is in latin1. I have a news module, that > has an optional RSS2.0 file. Partial example of rss.php: > > 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? > > Thanks, > Andres > > > -- > Slds, > Andrés Santos, IIG > > ***************************** > cel: (593) 9 7026627 > http://www.egobits.com > ***************************** > > > PHP Data object relational mapping generator > http://www.metastorage.net/ > > > > SPONSORED LINKS > Programming languages > <http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Programming+languages&w2=Object+oriented+programming&w3=Php+developer&w4=Computer+security&w5=C+programming+language&w6=Computer+programming+languages&c=6&s=166&.sig=G1dRwt6nKXtyPknUfy275g> > Object oriented programming > <http://groups.yahoo.com/gads?t=ms&k=Object+oriented+programming&w1=Programming+languages&w2=Object+oriented+programming&w3=Php+developer&w4=Computer+security&w5=C+programming+language&w6=Computer+programming+languages&c=6&s=166&.sig=XeLX8g9-vhY5M4PC91rmcQ> > Php developer > <http://groups.yahoo.com/gads?t=ms&k=Php+developer&w1=Programming+languages&w2=Object+oriented+programming&w3=Php+developer&w4=Computer+security&w5=C+programming+language&w6=Computer+programming+languages&c=6&s=166&.sig=A2ORZ5BIiy8lh-4FyY08rA> > > Computer security > <http://groups.yahoo.com/gads?t=ms&k=Computer+security&w1=Programming+languages&w2=Object+oriented+programming&w3=Php+developer&w4=Computer+security&w5=C+programming+language&w6=Computer+programming+languages&c=6&s=166&.sig=elAvlMof6Z9NTtbHMAYCCw> > C programming language > <http://groups.yahoo.com/gads?t=ms&k=C+programming+language&w1=Programming+languages&w2=Object+oriented+programming&w3=Php+developer&w4=Computer+security&w5=C+programming+language&w6=Computer+programming+languages&c=6&s=166&.sig=szsWmVMeM1JQP_Q45BnADw> > Computer programming languages > <http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=Programming+languages&w2=Object+oriented+programming&w3=Php+developer&w4=Computer+security&w5=C+programming+language&w6=Computer+programming+languages&c=6&s=166&.sig=JgOeFzoTc0Uh5HsYRvwtKg> > > > > ------------------------------------------------------------------------ > YAHOO! GROUPS LINKS > > * Visit your group "php-objects > <http://groups.yahoo.com/group/php-objects>" on the web. > > * To unsubscribe from this group, send an email to: > php-objects-unsubscribe@xxxxxxxxxxxxxxx > <mailto:php-objects-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/>. > > > ------------------------------------------------------------------------ > ------------------------ Yahoo! Groups Sponsor --------------------~--> Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> PHP Data object relational mapping generator http://www.metastorage.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/