Welcome to the Monastery | |
PerlMonks |
Re: Database vs XML output representation of two-byte UTF-8 characterby ikegami (Patriarch) |
on Sep 07, 2014 at 03:18 UTC ( [id://1099786]=note: print w/replies, xml ) | Need Help?? |
It's the result of double encoding. You encoded an output twice, or you encoded an output based on an input you forgot to decode. Looks like you are encoding your output using UTF-8, which is sensible if you were outputting text to a UTF-8 terminal, but you are outputting a raw HTTP response containing an XML document encoded using UTF-8.
In Section
Seekers of Perl Wisdom
|
|