On Wed, Apr 15, 2009 at 7:34 AM, Fred Bowen <[email protected]> wrote: > +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. >
You've convinced me. If this becomes a patch and a Jira ticket (and no one has well-reasoned objections) we can probably get it into CouchDB 0.10.0 Chris -- Chris Anderson http://jchrisa.net http://couch.io
