Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Database vs XML output representation of two-byte UTF-8 character

by jkeenan1 (Deacon)
on Sep 08, 2014 at 13:31 UTC ( #1099862=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1099862]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2021-03-02 08:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (41 votes). Check out past polls.

    Notices?