Re: [Json] I-D Action: draft-ietf-jsonbis-rfc7159bis-04.txt

Pete Cordell <petejson@codalogic.com> Fri, 21 July 2017 08:27 UTC

Return-Path: <petejson@codalogic.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 BA8A6131CFE for <json@ietfa.amsl.com>; Fri, 21 Jul 2017 01:27:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.919
X-Spam-Level:
X-Spam-Status: No, score=-0.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 S7NxrLi8gN70 for <json@ietfa.amsl.com>; Fri, 21 Jul 2017 01:27:13 -0700 (PDT)
Received: from ppsa-online.com (lvps217-199-162-192.vps.webfusion.co.uk [217.199.162.192]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 78F2712778D for <json@ietf.org>; Fri, 21 Jul 2017 01:27:12 -0700 (PDT)
Received: (qmail 1558 invoked from network); 21 Jul 2017 09:18:54 +0100
Received: from host109-155-118-120.range109-155.btcentralplus.com (HELO ?192.168.1.72?) (109.155.118.120) by lvps217-199-162-217.vps.webfusion.co.uk with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 21 Jul 2017 09:18:54 +0100
To: Julian Reschke <julian.reschke@gmx.de>, Carsten Bormann <cabo@tzi.org>
Cc: Peter Saint-Andre - Filament <peter@filament.com>, json@ietf.org
References: <150047191184.7507.7143481683564082881@ietfa.amsl.com> <DB9BA7EA-D393-4079-B347-620A09280B26@isode.com> <CAC4RtVBYMrRCrUZ1qqD+_rH4M8N23GOgbbh=921fEYqH+gCm5Q@mail.gmail.com> <c06e583a-965e-9eaf-975f-e6876ac056ed@filament.com> <f1a6b553-c787-e248-67bd-74d68d98a845@gmx.de> <262E8314-263A-4443-B912-AFCF1A3277B2@tzi.org> <2e6f5ead-1c20-d727-87a7-bbfe75ed4896@codalogic.com> <82da41d9-ab0b-ae9b-55f8-d17dc65bb61f@gmx.de>
From: Pete Cordell <petejson@codalogic.com>
Message-ID: <899d8a84-a46e-e95a-6fe0-e5812655f5b8@codalogic.com>
Date: Fri, 21 Jul 2017 09:27:07 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <82da41d9-ab0b-ae9b-55f8-d17dc65bb61f@gmx.de>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-GB
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/json/7Fl_J-ZKj_l4XKrEOMT4R1vKUxs>
Subject: Re: [Json] I-D Action: draft-ietf-jsonbis-rfc7159bis-04.txt
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.22
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: Fri, 21 Jul 2017 08:27:14 -0000

On 21/07/2017 08:51, Julian Reschke wrote:
> On 2017-07-21 09:42, Pete Cordell wrote:
>>> On Jul 21, 2017, at 06:20, Julian Reschke <julian.reschke@gmx.de> wrote:
> 
>> I think Allen Wirts-Brock's "IETF-specified protocol" is the clearest 
>> and simplest 
>> (https://mailarchive.ietf.org/arch/msg/json/0TVI13NELfsuC7FscgDvXZThenE ).  
>> e.g.
>>
>>      IETF-specified protocols MUST encode JSON text using UTF-8
>>      [RFC3629].
>>
> 
> -1
> 
> So if a specify a protocol outside the IETF, and use application/json as 
> HTTP payload, I *can* use UTF-16?

Good point.  How about:

      IETF-specified protocols and media associated with the
      application/json media type, MUST encode JSON text using UTF-8
      [RFC3629].


Pete Cordell
Codalogic Ltd
C++ tools for C++ programmers, http://codalogic.com
Read & write XML in C++, http://www.xml2cpp.com