in reply to Re: Handling special characters in JSON (TFM)
in thread Handling special characters in JSON
That assumes a perl data structure as the source, which wasn't clearly (to me) the case.
Anyway, I do:
(with JSON using JSON::XS).JSON::to_json( ["\x{00e9}"], { 'ascii' => 1 } )
--
A math joke: r = | |csc(θ)|+|sec(θ)|-||csc(θ)|-|sec(θ)|| |
Online Fortune Cookie Search
Office Space merchandise
A math joke: r = | |csc(θ)|+|sec(θ)|-||csc(θ)|-|sec(θ)|| |
Online Fortune Cookie Search
Office Space merchandise
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Handling special characters in JSON (TFM)
by tye (Sage) on Dec 16, 2010 at 04:35 UTC |
In Section
Seekers of Perl Wisdom