Re: [Json] Call for Consensus: Proposed Text for "8.1 Character Encoding"

Carsten Bormann <cabo@tzi.org> Mon, 13 March 2017 23:56 UTC

Return-Path: <cabo@tzi.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 933F6129662; Mon, 13 Mar 2017 16:56:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dqEZBlc4nsct; Mon, 13 Mar 2017 16:56:20 -0700 (PDT)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B2783129673; Mon, 13 Mar 2017 16:56:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [134.102.201.11]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id v2DNu319022431; Tue, 14 Mar 2017 00:56:03 +0100 (CET)
Received: from [192.168.217.124] (p5DCCCDC2.dip0.t-ipconnect.de [93.204.205.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 3vhvrz31d4zDH1J; Tue, 14 Mar 2017 00:56:03 +0100 (CET)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <7581abf5-1189-67ce-883f-f98f17d8eb24@gmx.de>
Date: Tue, 14 Mar 2017 00:56:02 +0100
X-Mao-Original-Outgoing-Id: 511142162.054844-c51cb89cfb55cecf79a1458f000b506a
Content-Transfer-Encoding: quoted-printable
Message-Id: <D07EE779-1D9D-45F6-AE01-A8A9274196D6@tzi.org>
References: <1fb5849e-8dbf-835d-65b7-2403686248f9@outer-planes.net> <b3cb2651-2d9f-d68d-2191-814e8dd5f5e2@gmx.de> <4B0A7371-9D85-4BEF-BC3C-14175E563178@tzi.org> <98ba10a0-6e44-9ff0-5993-f7ec9c66d74b@gmx.de> <E30CE52F-CE3E-4888-99D8-58899D3652EB@tzi.org> <7581abf5-1189-67ce-883f-f98f17d8eb24@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.3259)
Archived-At: <https://mailarchive.ietf.org/arch/msg/json/IriZ8OUwRM6pH6_JJo5mTt_6Ge4>
Cc: draft-ietf-jsonbis-rfc7159bis.all@ietf.org, Matthew Miller <linuxwolf+ietf@outer-planes.net>, "json@ietf.org" <json@ietf.org>
Subject: Re: [Json] Call for Consensus: Proposed Text for "8.1 Character Encoding"
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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, 13 Mar 2017 23:56:21 -0000

On 13 Mar 2017, at 23:38, Julian Reschke <julian.reschke@gmx.de> wrote:
> 
>> (Counterexample left as an exercise to the reader.)
>> 
>> Grüße, Carsten
> 
> OK. Let's try again.
> 
> If the number of octets is less than 4, it's either UTF-8 or no JSON at all?

OK, it seems I need to give away the answer to the exercise:

33 00

Grüße, Carsten