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

"Matthew A. Miller" <linuxwolf+ietf@outer-planes.net> Tue, 18 July 2017 08:27 UTC

Return-Path: <linuxwolf+ietf@outer-planes.net>
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 587AF131D2B for <json@ietfa.amsl.com>; Tue, 18 Jul 2017 01:27:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.88
X-Spam-Level:
X-Spam-Status: No, score=-0.88 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MISSING_HEADERS=1.021, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=outer-planes-net.20150623.gappssmtp.com
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 XsOHgVhaUSck for <json@ietfa.amsl.com>; Tue, 18 Jul 2017 01:27:48 -0700 (PDT)
Received: from mail-wr0-x230.google.com (mail-wr0-x230.google.com [IPv6:2a00:1450:400c:c0c::230]) (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 501AB131A69 for <json@ietf.org>; Tue, 18 Jul 2017 01:27:47 -0700 (PDT)
Received: by mail-wr0-x230.google.com with SMTP id w4so17866860wrb.2 for <json@ietf.org>; Tue, 18 Jul 2017 01:27:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outer-planes-net.20150623.gappssmtp.com; s=20150623; h=sender:subject:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to; bh=SVv9+OXsKQv4SGxulpPKDmypUYfNYvPyDjzR9zWtkIw=; b=m4w0Pcm0qhnPq6GuMqxQPJTu0frrdI9Rvdmg6CpzBbVPVgIMMIuRD86Rgfza8/K/Cn RPSyPIHHt1fW9pgHAirjOC/7YnN0Ww+//RJABxIlfUj9zv7TlJ9EHL9kfs8BvV7EJ44y m3B+7s45H1SQ1UXEM+gTUR2HUmLjG8V2h2ddnMCIn8WM4l+ivO5S7Kl4EVRz2RsiKjdT FgwMaYQAXyMViylZYRpmGcSnpEcBwotQJ4NgQ/obkhZ6G0V0RFrBVEH4w/x4uBGjfMDK DPFEi06BFUm7SdEmjpW/+ByS/4DQ8AwPM01nepYNAsOprUMxDVyIeYRwG4wSXyApLwMW 5+Vg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to; bh=SVv9+OXsKQv4SGxulpPKDmypUYfNYvPyDjzR9zWtkIw=; b=GPE4ERKSc5byJ4dmNKI7BdTdkWQGIItpgCj86F6MUoYnnyZUEFfOGpYuJdASJDA1ff A4i5igqHqLHCuqxFRnZaquF0Wbf3gfdwixVPvM2GuutH4gLDkdI1CSqM7npifMgyUeTL LpvouWiL1be1FpHiMXDHZu0nAlh8sxdTh+sjR3koTlVPa8KFCPvTg8h+sTM5mLsWZ0kb /uNh4oxjOVa15NNG5g/HQUzIuZ9thj0eOesdpEe+OBELIrvjcAOA+SLD8FMMWONOC0nA b3rWzuYYKFx6wgg+DtpR/cJmAM/j+uykA1jXkLZ+s7HiMvVrjmbdMysrOYEEMoubIcK4 +JkA==
X-Gm-Message-State: AIVw111EpEgQmE+PH/qN21QTp3qYEFBB4q9q/2nyHSz9NZrgtII9bAij qChTkf4iM5sND1BJyWCAmQ==
X-Received: by 10.28.33.66 with SMTP id h63mr838934wmh.124.1500366465515; Tue, 18 Jul 2017 01:27:45 -0700 (PDT)
Received: from ?IPv6:2001:67c:370:128:2526:a529:43c2:fb61? ([2001:67c:370:128:2526:a529:43c2:fb61]) by smtp.gmail.com with ESMTPSA id j31sm876127wre.67.2017.07.18.01.27.44 for <json@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jul 2017 01:27:44 -0700 (PDT)
Sender: Matthew Miller <linuxwolf@outer-planes.net>
Cc: "json@ietf.org" <json@ietf.org>
References: <e69d7c21-85cb-45f4-c0c2-34c624e63049@outer-planes.net> <CAHBU6ivsq8+Z=MMkUH+=Q0uwc5NCtaJLYw5cp0Qg8eX2hQQ6sA@mail.gmail.com> <b74cb31b-8e04-17d0-548a-fc164ce07c05@outer-planes.net> <20170417175627.GK23461@localhost> <10B651F1-7FE0-484D-BD2E-FD146BC5FB04@tzi.org> <eabbccb0-8d15-d595-7cd0-37acc0621c57@it.aoyama.ac.jp> <6eb23f90-6623-7888-bc1c-6640a9dababc@codalogic.com> <61bfad2b-850d-a11f-e80b-d5ed9ccb4dc9@codalogic.com> <08a88696-65ef-da05-0d77-1a07d04ebfc8@outer-planes.net> <bb9fead6-23e7-8c1d-bc80-b60c81c4b89a@codalogic.com> <6f047d01-ad72-59ab-9d34-20a8177ab3af@outer-planes.net> <be4d9f12-a4be-3723-e52a-56a60722a75f@gmx.de> <a3805f67-620b-67f0-9c06-c865b71029e7@codalogic.com> <bb1ef6a8-506c-344b-b903-980ed50ad2d3@gmx.de> <44b4523a-5e4b-ccad-af96-931d8b9ad1c2@codalogic.com> <ac1d1b68-67e7-c19f-a556-280df73f465b@outer-planes.net> <db3e4d88-d3bc-2ab5-fd8d-0a9ed90865e9@codalogic.com> <CAHBU6itmYDyBfz0qqr0LAUTuvdR1oBSUnz7VSie=pZRva=Ynzw@mail.gmail.com>
From: "Matthew A. Miller" <linuxwolf+ietf@outer-planes.net>
Message-ID: <787b7e15-ea97-b458-c886-d21c4dd02803@outer-planes.net>
Date: Tue, 18 Jul 2017 10:27:43 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:54.0) Gecko/20100101 Thunderbird/54.0
MIME-Version: 1.0
In-Reply-To: <CAHBU6itmYDyBfz0qqr0LAUTuvdR1oBSUnz7VSie=pZRva=Ynzw@mail.gmail.com>
Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="PpDNJw8fFpkcL9RnhrOqwuB8NxpfNtIiC"
Archived-At: <https://mailarchive.ietf.org/arch/msg/json/IkVVbdTnIbkbZO9A3OLmeRs97I4>
Subject: Re: [Json] Call for Consensus: Proposed Text for "8.1 Character Encoding"
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: Tue, 18 Jul 2017 08:27:49 -0000

Hello all,

I see consensus for the updated text below.  A note to the RFC editor is
added to ensure publication does not move forward until section 8.1 is
updated, and the change noted in the appendix.

"""
8.1.  Character Encoding

When transmitting over a network protocol, or as a payload of a
network protocol intended to be interpreted as part of a protocol,
JSON text MUST be encoded in UTF-8 (Section 3 of [UNICODE]).

Previous specifications of JSON have not required the use of UTF-8
when transmitting JSON text. However, the vast majority of
JSON-based software implementations have chosen to use the UTF-8
encoding, to the extent that it is the only encoding that achieves
interoperability.

Implementations MUST NOT add a byte order mark (U+FEFF) to the
beginning of a networked-transmitted JSON text.  In the interests
of interoperability, implementations that parse JSON texts MAY
ignore the presence of a byte order mark rather than treating it
as an error.
"""


Thank you all that participated in the discussion.

- m&m

Matthew A. Miller
JSONbis Chair