Re: [Json] Proposal for strings/Unicode text

"Joe Hildebrand (jhildebr)" <jhildebr@cisco.com> Mon, 17 June 2013 17:21 UTC

Return-Path: <jhildebr@cisco.com>
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 43B0821F9D01 for <json@ietfa.amsl.com>; Mon, 17 Jun 2013 10:21:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.799
X-Spam-Level:
X-Spam-Status: No, score=-10.799 tagged_above=-999 required=5 tests=[AWL=-0.200, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 oe5BYT0m8ZVu for <json@ietfa.amsl.com>; Mon, 17 Jun 2013 10:21:43 -0700 (PDT)
Received: from rcdn-iport-2.cisco.com (rcdn-iport-2.cisco.com [173.37.86.73]) by ietfa.amsl.com (Postfix) with ESMTP id E6F1821F940D for <json@ietf.org>; Mon, 17 Jun 2013 10:21:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=861; q=dns/txt; s=iport; t=1371489703; x=1372699303; h=from:to:subject:date:message-id:in-reply-to:content-id: content-transfer-encoding:mime-version; bh=rNUH/rWsDLvw+b2v4OrzZAIdP438RPNawA2riLrrvqM=; b=JtjH39kLVuS4n6auU23e1AHc7V4iqWDeOJgoYPBXrf7hNwUlgjTSWnfo 82GAxlXfAd7dOSstLkcBa6ot1ayFV4Y7Jumg5qstxgelUbsuus7NSjBK1 Q42+JjKzhZR6Tmen/uwI1YN783HpU51NNuQesuY2AxmK9uLlRww0otXL9 c=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AkYFABxFv1GtJXG8/2dsb2JhbABagwl6gji8QH4WdIIlAQQ6UQEIIhRCJQIEARIIh3QDD7EhHYhCjxY4gn9hA6kEgw+CKA
X-IronPort-AV: E=Sophos;i="4.87,882,1363132800"; d="scan'208";a="223787253"
Received: from rcdn-core2-1.cisco.com ([173.37.113.188]) by rcdn-iport-2.cisco.com with ESMTP; 17 Jun 2013 17:21:42 +0000
Received: from xhc-rcd-x02.cisco.com (xhc-rcd-x02.cisco.com [173.37.183.76]) by rcdn-core2-1.cisco.com (8.14.5/8.14.5) with ESMTP id r5HHLg4f016761 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 17 Jun 2013 17:21:42 GMT
Received: from xmb-rcd-x10.cisco.com ([169.254.15.56]) by xhc-rcd-x02.cisco.com ([173.37.183.76]) with mapi id 14.02.0318.004; Mon, 17 Jun 2013 12:21:42 -0500
From: "Joe Hildebrand (jhildebr)" <jhildebr@cisco.com>
To: "Manger, James H" <James.H.Manger@team.telstra.com>, "json@ietf.org" <json@ietf.org>
Thread-Topic: [Json] Proposal for strings/Unicode text
Thread-Index: AQHOZ51Gb76aHFDldEuIrE325m6ppJkzAdeAgAAdpYCAAKLpAIAAIdEA///3qYCABYBx4IAAwfEA
Date: Mon, 17 Jun 2013 17:21:41 +0000
Message-ID: <A723FC6ECC552A4D8C8249D9E07425A70FC52202@xmb-rcd-x10.cisco.com>
In-Reply-To: <255B9BB34FB7D647A506DC292726F6E1151B931064@WSMSG3153V.srv.dir.telstra.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.3.4.130416
x-originating-ip: [64.101.72.72]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <222330342135DC4491460B04062986C8@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
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 17:21:52 -0000

On 6/16/13 11:02 PM, "Manger, James H" <James.H.Manger@team.telstra.com>
wrote:

>Fixing typos and tweaking the comment:
>
>  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)

After discussion, this?

unescaped = %x20-21 / %x23-5B / %x5D-D7FF / %xE000-10FFFF
 ; any Unicode scalar value, except those that must be escaped
 ; (C0 control characters,
 ;  "QUOTATION MARK" [U+0022], and
 ;  "REVERSE SOLIDUS" [U+005C])

The caps and codepoint references make it clear we're only talking about
those precise codepoints.

Others may argue that non-C0 control characters should be prohibited, but
that's a separate backward-compatibility argument from this starting point.


-- 
Joe Hildebrand