779Re: [json] Re: JSON -- rfc question -- Encoding
- Apr 13, 2007Douglas Crockford wrote:
>> 1) Must a conformant JSON parser recognize all legal encodings? OrFor example, JSON in E-0.9 accepts only Unicode characters from the "basic
>> can a parser be conformant with documented restrictions on what
>> encodings it can accept?
> Parties can agree on what is acceptable and meaningful. For example,
> it is reasonable for a receiver to put limits on message length or
> string length or nesting depth.
multilingual plane", i.e., characters whose code point fits in 16 bits. As I
read the JSON spec, this is an allowable restriction. This restriction is
needed since E-0.9 does not support Unicode supplementary characters, i.e.,
characters whose code points are >= 2**16.
Text by me above is hereby placed in the public domain
- << Previous post in topic Next post in topic >>