Re: [Json] I-JSON Topic #3: Unicode

John Cowan <> Tue, 29 April 2014 17:16 UTC

Return-Path: <>
Received: from localhost ( []) by (Postfix) with ESMTP id 06D791A04AF for <>; Tue, 29 Apr 2014 10:16:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -3.765
X-Spam-Status: No, score=-3.765 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FAKE_REPLY_C=1.486, GB_I_LETTER=-2, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.651] autolearn=ham
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id tsRUHOo2WFBz for <>; Tue, 29 Apr 2014 10:16:15 -0700 (PDT)
Received: from ( []) by (Postfix) with ESMTP id CD44C1A08DB for <>; Tue, 29 Apr 2014 10:16:14 -0700 (PDT)
Received: from cowan by with local (Exim 4.72) (envelope-from <>) id 1WfBdd-0001sz-LZ for; Tue, 29 Apr 2014 13:16:13 -0400
Date: Tue, 29 Apr 2014 13:16:13 -0400
From: John Cowan <>
Message-ID: <>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
User-Agent: Mutt/1.5.20 (2009-06-14)
Sender: John Cowan <>
Subject: Re: [Json] I-JSON Topic #3: Unicode
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "JavaScript Object Notation \(JSON\) WG mailing list" <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Tue, 29 Apr 2014 17:16:17 -0000

> draft-i-json-01 excludes the use of, and I quote, “Surrogates or
> Noncharacters”.   Is that the right use of Unicode nomenclature?  This
> really matters and I think it’s OK now, but first-class Unicode lawyering
> is required here.

It should say "code points which represent unpaired surrogates or
noncharacters."  The statement "\uDEAD is always illegal" is incorrect;
it is entirely legal in the sequence "\uD800\uDEAD", which represents
U+102AD CARIAN LETTER T.  Rather it should say that "\uDEAD" is illegal
unless preceded by an escape between "\uD800" and "\uDBFF" inclusive.

John Cowan
I come from under the hill, and under the hills and over the hills my paths
led. And through the air. I am he that walks unseen.  I am the clue-finder,
the web-cutter, the stinging fly. I was chosen for the lucky number.  --Bilbo