Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: print unicode characters from hex format

by kennethk (Abbot)
on Aug 31, 2016 at 22:17 UTC ( [id://1170932]=note: print w/replies, xml ) Need Help??


in reply to print unicode characters from hex format

How are you importing the YAML? The issue here is not that the data is being written incorrectly (you have the literals properly represented in the in-memory string) but that whatever is doing your data import is not doing the necessary character unescaping. You could fix this as choroba recommends with a regex post-fix, but this should really be handled in your serialization/deserialization layer.

#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

  • Comment on Re: print unicode characters from hex format

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-23 06:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found