Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: JSON Problems

by Anonymous Monk
on Oct 18, 2012 at 13:59 UTC ( #999740=note: print w/ replies, xml ) Need Help??


in reply to JSON Problems

sounds like upstream JSON parser is broken and/or you're not sending the correct bytes, read perlunitut: Unicode in Perl#I/O flow (the actual 5 minute tutorial)


Comment on Re: JSON Problems
Re^2: JSON Problems
by nathanlong85 (Initiate) on Oct 18, 2012 at 16:29 UTC
    Looks like encode/decode fixed my problem. I had assumed since the input creating my json string was already coming from a source using UTF-8 and I was sending to a destination using UTF-8 that it wouldn't be an issue... thanks for that link, it was really helpful!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2015-07-06 04:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls