W3C home > Mailing lists > Public > www-tag@w3.org > November 2013

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

From: Joe Hildebrand (jhildebr) <jhildebr@cisco.com>
Date: Thu, 14 Nov 2013 14:59:57 +0000
To: Pete Cordell <petejson@codalogic.com>, Paul Hoffman <paul.hoffman@vpnc.org>
CC: "www-tag@w3.org" <www-tag@w3.org>, JSON WG <json@ietf.org>
Message-ID: <CEAA3067.2D132%jhildebr@cisco.com>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:56:59 UTC