Re: Encoding detection (Was: Re: [Json] JSON: remove gap between Ecma-404 and IETF draft)

On 11/14/13 5:04 AM, "Pete Cordell" <petejson@codalogic.com> wrote:

> In http://www.ietf.org/mail-archive/web/json/current/msg00565.html I
>mentioned that we also need to allow for characters such as U+2c00 to be
>the 
>first character in a quoted string.

Ah, yes.  Sorry, I quoted from the wrong part of the conversation.  I
completely agree.

>That can be reduced a bit if we use "--" to indicate "not-tested":
>
>   00 00 -- --  UTF-32BE
>   00 xx -- --  UTF-16BE
>   xx 00 00 00  UTF-32LE
>   xx 00 00 xx  UTF-16LE
>   xx 00 xx --  UTF-16LE
>   xx xx -- --  UTF-8

+1 to this table.  It's clear, correct, and implementable.

-- 
Joe Hildebrand

Received on Thursday, 14 November 2013 15:00:30 UTC