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:

diag(Encode::decode_utf8($res->content));
... and got the expected output in the Terminal (without affecting what was stored or retrieved from the database.

Thank you very much.

Jim Keenan
  • Comment on Re^2: Database vs XML output representation of two-byte UTF-8 character
  • Download Code