Posted by julian_m on 03/29/06 11:52
I've a problem related charset (I think)
I've a database field which can have characters like "á - é - í -
ó - ú". When I browse the database, thoser characters seem to be
correct, but whenever I try to read and echo them to xml I see only
weird signs like ? @ # (This doesn't happen when I output them as HTML)
I think that my problem is related to these two lines:
header('Content-Type: text/xml');
print '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';
Can anyone give me a hint?
Note that the table is defined as
"ENGINE=MyISAM DEFAULT CHARSET=latin1;"
regards - jm
Navigation:
[Reply to this message]
|