Re: [Json] Proposal for strings/Unicode text

John Cowan <cowan@mercury.ccil.org> Mon, 17 June 2013 14:14 UTC

Return-Path: <cowan@ccil.org>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 894DC21F9CA6 for <json@ietfa.amsl.com>; Mon, 17 Jun 2013 07:14:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.444
X-Spam-Level:
X-Spam-Status: No, score=-3.444 tagged_above=-999 required=5 tests=[AWL=0.155, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YjsIDKXVfbOs for <json@ietfa.amsl.com>; Mon, 17 Jun 2013 07:14:15 -0700 (PDT)
Received: from earth.ccil.org (earth.ccil.org [192.190.237.11]) by ietfa.amsl.com (Postfix) with ESMTP id A73A321F9CA8 for <json@ietf.org>; Mon, 17 Jun 2013 07:14:15 -0700 (PDT)
Received: from cowan by earth.ccil.org with local (Exim 4.72) (envelope-from <cowan@ccil.org>) id 1UoaC9-00039x-IY; Mon, 17 Jun 2013 10:14:10 -0400
Date: Mon, 17 Jun 2013 10:14:09 -0400
From: John Cowan <cowan@mercury.ccil.org>
To: Paul Hoffman <paul.hoffman@vpnc.org>
Message-ID: <20130617141409.GB23594@mercury.ccil.org>
References: <20130613121620.GB11739@mercury.ccil.org> <A723FC6ECC552A4D8C8249D9E07425A70FC47B42@xmb-rcd-x10.cisco.com> <255B9BB34FB7D647A506DC292726F6E1151B931064@WSMSG3153V.srv.dir.telstra.com> <9DC91218-B255-4CA2-8337-41F7135A90BD@vpnc.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <9DC91218-B255-4CA2-8337-41F7135A90BD@vpnc.org>
User-Agent: Mutt/1.5.20 (2009-06-14)
Sender: John Cowan <cowan@ccil.org>
Cc: "Manger, James H" <james.h.manger@team.telstra.com>, json@ietf.org
Subject: Re: [Json] Proposal for strings/Unicode text
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "JavaScript Object Notation \(JSON\) WG mailing list" <json.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/json>, <mailto:json-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/json>
List-Post: <mailto:json@ietf.org>
List-Help: <mailto:json-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/json>, <mailto:json-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Jun 2013 14:14:29 -0000

Paul Hoffman scripsit:

> >  unescaped = %x20-21 / %x23-5B / %x5D-D7FF / %xE000-10FFFF
> >    ; any Unicode scalar value, except those that must be escaped
> >    ; (control characters, quotation mark, and reverse solidus)
> 
> Making comments in ABNF that disagree with the ABNF itself
> seems like a completely terrible idea that will lead to lack of
> interoperability. Complicated ABNF is better than simple ABNF that
> has contradictory comments.

Where's the contradiction?  The prose says exactly what the ABNF says.
%22 (quotation mark), %5C (backslash), and %D800 through %DFFF (surrogate
pairs) are left out of the full Unicode range.

-- 
No saves, Antonio, loke es morirse en su lingua. Es komo            John Cowan
kedarse soliko en el silensyo kada dya ke Dyo da, komo          cowan@ccil.org
ser sikileoso sin saver porke.                      http://www.ccil.org/~cowan
                        --Marcel Cohen, 1985