+1 default output utf8 +1 switchable output to ascii via Accept:
On Wed, Apr 15, 2009 at 7:53 AM, Dirkjan Ochtman <[email protected]> wrote: > On Tue, Apr 14, 2009 at 00:39, Chris Anderson <[email protected]> wrote: >> Any thoughts on how best to do this? Should utf8 be the default, or \uXXXX? > > Since RFC 4627 says JSON SHALL be encoded in Unicode, and the default > as specified in the RFC is UTF-8, I think utf8 as the default is > better option here. Maybe it could be switchable based on Accept: > application/json;charset=ascii in the request.
