Re: [Json] Proposal for strings/Unicode text
Norbert Lindenberg <ietf@lindenbergsoftware.com> Tue, 18 June 2013 07:19 UTC
Return-Path: <ietf@lindenbergsoftware.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 AD7F521F9D22 for <json@ietfa.amsl.com>; Tue, 18 Jun 2013 00:19:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.805
X-Spam-Level:
X-Spam-Status: No, score=-4.805 tagged_above=-999 required=5 tests=[AWL=0.794, BAYES_00=-2.599, GB_I_LETTER=-2, 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 7YdUjhYk+C3e for <json@ietfa.amsl.com>; Tue, 18 Jun 2013 00:19:13 -0700 (PDT)
Received: from mirach.lunarpages.com (mirach.lunarpages.com [216.97.235.70]) by ietfa.amsl.com (Postfix) with ESMTP id A42C421F9D21 for <json@ietf.org>; Tue, 18 Jun 2013 00:19:09 -0700 (PDT)
Received: from 50-0-136-241.dsl.dynamic.sonic.net ([50.0.136.241]:63031 helo=[192.168.0.5]) by mirach.lunarpages.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80) (envelope-from <ietf@lindenbergsoftware.com>) id 1UoqC4-001CwH-Eh; Tue, 18 Jun 2013 00:19:08 -0700
Mime-Version: 1.0 (Apple Message framework v1283)
Content-Type: text/plain; charset="windows-1252"
From: Norbert Lindenberg <ietf@lindenbergsoftware.com>
In-Reply-To: <CAHBU6ivTQL__=5puCxs_d+eQvBVvW4LvO1g_0q4V8bp0nq4JZA@mail.gmail.com>
Date: Tue, 18 Jun 2013 00:19:03 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <99C11E2A-FE05-4C6E-B68D-DA5E9D0493B9@lindenbergsoftware.com>
References: <CAHBU6ivNjMUwN2Hsn-E8FKxjqXS6b4qz=_MeeaHahWBWqG_Hgg@mail.gmail.com> <ED62F638-C0C4-411D-BA5B-EB9BA71EDB75@lindenbergsoftware.com> <CAHBU6ivTQL__=5puCxs_d+eQvBVvW4LvO1g_0q4V8bp0nq4JZA@mail.gmail.com>
To: Tim Bray <tbray@textuality.com>
X-Mailer: Apple Mail (2.1283)
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - mirach.lunarpages.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - lindenbergsoftware.com
X-Get-Message-Sender-Via: mirach.lunarpages.com: authenticated_id: ietf@lindenbergsoftware.com
Cc: Norbert Lindenberg <ietf@lindenbergsoftware.com>, "json@ietf.org" <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: Tue, 18 Jun 2013 07:19:17 -0000
On Jun 12, 2013, at 15:54 , Tim Bray wrote: > On Wed, Jun 12, 2013 at 3:46 PM, Norbert Lindenberg <ietf@lindenbergsoftware.com> wrote: > The JSON RFC seems to use Unicode character names, in this case case "reverse solidus". > > We’re not allowed to change JSON but we are allowed to improve the spec. The term “solidus” is obscure and off-putting. If that's how you feel: Is there a proposal then to replace all occurrences of "solidus" and "reverse solidus" in the RFC? There are more, and the issue doesn't seem connected to the character vs. code point issue. >> > 16-bit quantities (normally Unicode characters from the Basic Multingual Pane(U+0000 through U+FFFF) may be “escaped”, or represented as a six-character sequence: a backslash (U+005C REVERSE SOLIDUS), followed by the lowercase letter u, followed by four hexadecimal digits that encode the character's code point. The hexadecimal letters A though F can be upper or lower case. So, for example, a string containing only a single backslash may be represented as "\u005C". >> >> These escape sequences aren't about 16-bit quantities - they represent Unicode BMP code points. > > They also represent surrogates. Thus they combine fish and bicycles, and I think the only accurate way to describe what you can escape is “16-bit quantities” Surrogate code points are BMP code points (see http://www.unicode.org/glossary) They are an awkward kind of code point and are best avoided, but I don't see what fish or bicycles have to do with them. Also, as I explained before, in some environments there are no 16-bit quantities in either input or output. Norbert
- [Json] Proposal for strings/Unicode text Tim Bray
- Re: [Json] Proposal for strings/Unicode text Carsten Bormann
- Re: [Json] Proposal for strings/Unicode text Tim Bray
- Re: [Json] Proposal for strings/Unicode text Carsten Bormann
- Re: [Json] Proposal for strings/Unicode text R S
- Re: [Json] Proposal for strings/Unicode text Norbert Lindenberg
- Re: [Json] Proposal for strings/Unicode text Tim Bray
- Re: [Json] Proposal for strings/Unicode text Norbert Lindenberg
- Re: [Json] Proposal for strings/Unicode text John Cowan
- Re: [Json] Proposal for strings/Unicode text Bjoern Hoehrmann
- Re: [Json] Proposal for strings/Unicode text John Cowan
- Re: [Json] Proposal for strings/Unicode text Joe Hildebrand (jhildebr)
- Re: [Json] Proposal for strings/Unicode text Manger, James H
- Re: [Json] Proposal for strings/Unicode text Paul Hoffman
- Re: [Json] Proposal for strings/Unicode text John Cowan
- Re: [Json] Proposal for strings/Unicode text Paul Hoffman
- Re: [Json] Proposal for strings/Unicode text John Cowan
- Re: [Json] Proposal for strings/Unicode text Paul Hoffman
- Re: [Json] Proposal for strings/Unicode text Joe Hildebrand (jhildebr)
- Re: [Json] Proposal for strings/Unicode text Paul Hoffman
- Re: [Json] Proposal for strings/Unicode text Joe Hildebrand (jhildebr)
- Re: [Json] Proposal for strings/Unicode text Carsten Bormann
- Re: [Json] Proposal for strings/Unicode text Paul Hoffman
- Re: [Json] Proposal for strings/Unicode text Tim Bray
- Re: [Json] Proposal for strings/Unicode text Nico Williams
- Re: [Json] Proposal for strings/Unicode text John Cowan
- Re: [Json] Proposal for strings/Unicode text Norbert Lindenberg