Re: [Json] Encoding Schemes

John Cowan <cowan@mercury.ccil.org> Tue, 18 June 2013 20:05 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 6CE0521F9733 for <json@ietfa.amsl.com>; Tue, 18 Jun 2013 13:05:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.457
X-Spam-Level:
X-Spam-Status: No, score=-3.457 tagged_above=-999 required=5 tests=[AWL=0.142, 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 KDuqR5+yZkgJ for <json@ietfa.amsl.com>; Tue, 18 Jun 2013 13:05:44 -0700 (PDT)
Received: from earth.ccil.org (earth.ccil.org [192.190.237.11]) by ietfa.amsl.com (Postfix) with ESMTP id 124FC21F96F5 for <json@ietf.org>; Tue, 18 Jun 2013 13:05:43 -0700 (PDT)
Received: from cowan by earth.ccil.org with local (Exim 4.72) (envelope-from <cowan@ccil.org>) id 1Up29t-0000me-4N; Tue, 18 Jun 2013 16:05:41 -0400
Date: Tue, 18 Jun 2013 16:05:41 -0400
From: John Cowan <cowan@mercury.ccil.org>
To: Carsten Bormann <cabo@tzi.org>
Message-ID: <20130618200541.GK12085@mercury.ccil.org>
References: <A723FC6ECC552A4D8C8249D9E07425A70FC57CF2@xmb-rcd-x10.cisco.com> <20130618183926.GG12085@mercury.ccil.org> <E9527431-1354-4755-8280-634B4A47BA25@tzi.org> <4626FCFD-90CE-4CE7-A123-ED3E12E7FF0A@vpnc.org> <4EC0C40B-CFEE-438C-A30F-1F43C017E24E@tzi.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4EC0C40B-CFEE-438C-A30F-1F43C017E24E@tzi.org>
User-Agent: Mutt/1.5.20 (2009-06-14)
Sender: John Cowan <cowan@ccil.org>
Cc: Paul Hoffman <paul.hoffman@vpnc.org>, json@ietf.org
Subject: Re: [Json] Encoding Schemes
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 20:05:48 -0000

Carsten Bormann scripsit:

> Clearly, the text in section 3 does not work with the
> BOM-based CESs.  But you might also read the text in 6 as asking for
> UTF-16 CES and the text in 3 then excluding BOMs so the UTF-16 CES is
> implicitly big-endian.  So much effort for something so theoretical.)

Unfortunately, it isn't even clear that it means that.  It could simply
mean "UTF-16, either big-endian or little-endian".

I am always astonished when people hold up RFC 4627 as some kind of
masterpiece of standards writing.

-- 
John Cowan   cowan@ccil.org    http://ccil.org/~cowan
Original line from The Warrior's Apprentice by Lois McMaster Bujold:
"Only on Barrayar would pulling a loaded needler start a stampede toward one."
English-to-Russian-to-English mangling thereof: "Only on Barrayar you risk to
lose support instead of finding it when you threat with the charged weapon."