Re: [Json] Encoding Schemes

John Cowan <cowan@mercury.ccil.org> Tue, 18 June 2013 18:39 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 8AA1911E80F8 for <json@ietfa.amsl.com>; Tue, 18 Jun 2013 11:39:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.451
X-Spam-Level:
X-Spam-Status: No, score=-3.451 tagged_above=-999 required=5 tests=[AWL=0.148, 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 8V5TEnnxYLPN for <json@ietfa.amsl.com>; Tue, 18 Jun 2013 11:39:27 -0700 (PDT)
Received: from earth.ccil.org (earth.ccil.org [192.190.237.11]) by ietfa.amsl.com (Postfix) with ESMTP id 3488221E8083 for <json@ietf.org>; Tue, 18 Jun 2013 11:39:27 -0700 (PDT)
Received: from cowan by earth.ccil.org with local (Exim 4.72) (envelope-from <cowan@ccil.org>) id 1Up0oQ-0008Fb-9P; Tue, 18 Jun 2013 14:39:26 -0400
Date: Tue, 18 Jun 2013 14:39:26 -0400
From: John Cowan <cowan@mercury.ccil.org>
To: "Joe Hildebrand (jhildebr)" <jhildebr@cisco.com>
Message-ID: <20130618183926.GG12085@mercury.ccil.org>
References: <A723FC6ECC552A4D8C8249D9E07425A70FC57CF2@xmb-rcd-x10.cisco.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <A723FC6ECC552A4D8C8249D9E07425A70FC57CF2@xmb-rcd-x10.cisco.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Sender: John Cowan <cowan@ccil.org>
Cc: "json@ietf.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 18:39:31 -0000

Joe Hildebrand (jhildebr) scripsit:

> "When serialized to an octet stream, JSON text SHALL be encoded in one of
> the following Unicode encoding schemes: UTF-8,  UTF-16BE, UTF-16LE,
> UTF-32BE, and UTF-32LE.  The default and RECOMMENDED encoding is UTF-8.

Oh no, that SHALL will not fly.  Any encoding (which means "encoding
scheme" in a media-type context) can be used to represent JSON.
Including an EBCDIC variant.

-- 
John Cowan    cowan@ccil.org    http://ccil.org/~cowan
Half the lies they tell about me are true.
        --Tallulah Bankhead, American actress