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

Julian Reschke <julian.reschke@gmx.de> Tue, 14 March 2017 06:01 UTC

Return-Path: <julian.reschke@gmx.de>
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 EC7C0129456; Mon, 13 Mar 2017 23:01:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level:
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-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 UZ8IpxtDVWBV; Mon, 13 Mar 2017 23:01:36 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5276B12940E; Mon, 13 Mar 2017 23:01:36 -0700 (PDT)
Received: from [192.168.178.20] ([93.217.112.97]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M9eHT-1cwmKK0uYJ-00CzDS; Tue, 14 Mar 2017 07:01:23 +0100
To: Carsten Bormann <cabo@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> <D07EE779-1D9D-45F6-AE01-A8A9274196D6@tzi.org>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <f934d9ca-63c5-0025-6e03-1898fd3051a2@gmx.de>
Date: Tue, 14 Mar 2017 07:01:23 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <D07EE779-1D9D-45F6-AE01-A8A9274196D6@tzi.org>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Provags-ID: V03:K0:O5+0RfRsrdclT2sP8OWmavBTolMSHAdzgfn+AJHGZiTQEOkb9bi 1NLhJX9LQ8B2LLwe/6ZSag+eLoxDwHgz1pXLO6EoGE9NOzbBmF/Heh5bxXbrWbiNpvtffSU uvrqnfnGt9aw2GvKm+wCULBGJF4V3zLtXQz5EZOD/76DZjpurbzddxB0BYbH+TenYGsTw/A JKjO+joqeC2pcHXP3tQzQ==
X-UI-Out-Filterresults: notjunk:1;V01:K0:jhxVeXi+xX0=:pPO4H5pRI+h8o4LM6c8d8c knI7BHVL1YcmqJR1lgVQe+S4EFeamjQ2TPAHgHW37Vd5//+VIgxY/QKiGIiHaVmEnWCf/0vlf XgNxQvDHioKWOZ6/424xOwL0wvcrC4VgJ9uz4evh13O3N8538P9bkCQ+vGMI9J0/XXoceUC88 FlX+70y3Fx2zigN//N2fewkRR2vA8U79/9/K2bqw8131Uo2dsrYZda0zNG03KN+z6JSDt3WsL 7COP7/S5LMAm1yJGOaHEA+CgU2tWmNLg8Vdlv6Na4VtG1ktAQ/ZAFLf6seReXAnMi2x6IUJhX +xWZP30CwwpYgd19yj7AunsgC/4b0e6LSNHqeWvZlH/qZM1QlfWSNDjR6q0Fouq9X2Czq1+0C moR96yvC+AhczMNKMlPy5I/FDbyP3KAu18p8pSMkAZ2ym/bV9ATCA57i2ujKylnMSgGsb0U86 My5yVbWVQwrLxJXB3CRYtJ/qUI69+/y/jH1crs/gdTxFrVBxfQOmK4Gi19/icRM3ATELxgYUk KkGkjgW8Rqxy+NjkrP9vYrCNvYky48jofsaHcbf7W99ylpAMZdrsupov6TMJ8rPDjbSXTPP1g b1U+ER7DdPhS0bbSP97HLggOjBT3FjEs8IYnWXf3XporZQ7ZB5FbDro6ij0AevJcDgG2jfFX9 9MSoypi7ldEmGFvpjQbP4rp2a4oCYUTcsLDlIHPORDm0HUOM9z7mpFQ0F6CybyVlZRFj73dAk dlOKQYXxM1a1K9AOPYaBeVMz+Bb2EeytXrN0caNH2OW13UeUcEIgwPU5juJV1f//Z+dIZxyFH 3uXmtaF
Archived-At: <https://mailarchive.ietf.org/arch/msg/json/8qeaEmbUTjmiaq6AeaLChMwjBUI>
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: Tue, 14 Mar 2017 06:01:38 -0000

On 2017-03-14 00:56, Carsten Bormann wrote:
> 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

Yep, I was too focused on top-level strings that start with non-ASCII...

Best regards, Julian