couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Anderson <jch...@apache.org>
Subject Re: unicode output representation
Date Wed, 15 Apr 2009 18:43:02 GMT
On Wed, Apr 15, 2009 at 7:34 AM, Fred Bowen <frederick.bowen@gmail.com> wrote:
> +1 default output utf8
> +1 switchable output to ascii via Accept:
>
> On Wed, Apr 15, 2009 at 7:53 AM, Dirkjan Ochtman <dirkjan@ochtman.nl> wrote:
>> On Tue, Apr 14, 2009 at 00:39, Chris Anderson <jchris@apache.org> 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

Mime
View raw message