W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2010

Re: XHR LC comment: header encoding

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 05 Jan 2010 08:39:26 +0100
To: "Jonas Sicking" <jonas@sicking.cc>
Cc: "Boris Zbarsky" <bzbarsky@mit.edu>, "Julian Reschke" <julian.reschke@gmx.de>, "WebApps WG" <public-webapps@w3.org>
Message-ID: <op.u51t70xd64w2qv@annevk-t60>
On Tue, 05 Jan 2010 08:29:53 +0100, Jonas Sicking <jonas@sicking.cc> wrote:
> Wouldn't it then be better to throw for any non ASCII characters? That
> way we don't restrict ourself for when (if?) IETF defines an encoding
> for http headers.

The defined encoding is ISO-8859-1 (unfortunately).


> At the very least, throwing if the upper byte is non-zero seems like
> the right thing to do to prevent silent data loss.

That works for me.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Tuesday, 5 January 2010 07:40:14 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:36 GMT