in reply to Re: Database vs XML output representation of two-byte UTF-8 character
in thread Database vs XML output representation of two-byte UTF-8 character
ikegami, I believe your answer is correct. The terminal in question is the Mac OS X Terminal program with Preferences->Settings->Advanced->Character encoding: "Unicode (UTF-8)". I changed my debugging code to:
... and got the expected output in the Terminal (without affecting what was stored or retrieved from the database.diag(Encode::decode_utf8($res->content));
Thank you very much.
|
|---|