Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: JSON::XS and unicode

by kimmel (Scribe)
on Sep 08, 2012 at 20:11 UTC ( [id://992524]=note: print w/replies, xml ) Need Help??


in reply to Re: JSON::XS and unicode
in thread JSON::XS and unicode

I am using utf8::all which already takes care of turning on the different unicode parts.

The errors do not come from reading or writing a file. The error is caused by using decode_json() on a string which should work.

Replies are listed 'Best First'.
Re^3: JSON::XS and unicode
by chip (Curate) on Sep 08, 2012 at 21:01 UTC
    Thanks for the pointer to utf8::all, it'll be handy.

        -- Chip Salzenberg, Free-Floating Agent of Chaos

Re^3: JSON::XS and unicode
by philiprbrenan (Monk) on Sep 09, 2012 at 11:04 UTC

    Could you replace the characters in the input to JSON with a's one by one until the offending wide character disappears? We will then know exactly which input character is causing the problem. Thanks.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-25 21:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found