Re: [Json] Proposal for strings/Unicode text

Paul Hoffman <paul.hoffman@vpnc.org> Mon, 17 June 2013 14:23 UTC

Return-Path: <paul.hoffman@vpnc.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 84BD421F9695 for <json@ietfa.amsl.com>; Mon, 17 Jun 2013 07:23:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.49
X-Spam-Level:
X-Spam-Status: No, score=-102.49 tagged_above=-999 required=5 tests=[AWL=0.109, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
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 CAinShYyVsJc for <json@ietfa.amsl.com>; Mon, 17 Jun 2013 07:23:04 -0700 (PDT)
Received: from hoffman.proper.com (IPv6.Hoffman.Proper.COM [IPv6:2605:8e00:100:41::81]) by ietfa.amsl.com (Postfix) with ESMTP id 3A3AC21F9691 for <json@ietf.org>; Mon, 17 Jun 2013 07:23:03 -0700 (PDT)
Received: from [10.20.30.90] (50-0-66-165.dsl.dynamic.sonic.net [50.0.66.165]) (authenticated bits=0) by hoffman.proper.com (8.14.5/8.14.5) with ESMTP id r5HEN03v033675 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 17 Jun 2013 07:23:01 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <20130617141409.GB23594@mercury.ccil.org>
Date: Mon, 17 Jun 2013 07:23:00 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <7CF56357-6A86-4BAA-BFD8-225019A11980@vpnc.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> <20130617141409.GB23594@mercury.ccil.org>
To: John Cowan <cowan@mercury.ccil.org>
X-Mailer: Apple Mail (2.1508)
Cc: 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:23:09 -0000

On Jun 17, 2013, at 7:14 AM, John Cowan <cowan@mercury.ccil.org> wrote:

> 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.

U+0000-0019 is not the entire list of Unicode control characters? U+0022 is not the only Unicode quotation mark.

Did we not learn anything from the IDN WG work 13 years ago?

--Paul Hoffman