W3C home > Mailing lists > Public > uri@w3.org > March 2004

Re: Are IDNs allowed in http IRIs?

From: Martin Duerst <duerst@w3.org>
Date: Mon, 22 Mar 2004 12:05:52 -0500
Message-Id: <4.2.0.58.J.20040322120255.05e0f9a0@localhost>
To: John Cowan <cowan@ccil.org>, Michel Suignard <michelsu@windows.microsoft.com>
Cc: public-iri@w3.org, uri@w3.org

At 21:46 04/03/21 -0500, John Cowan wrote:

>This isn't really apt, because the charset parameter in MIME types tells
>how to translate an entity body (which is made of bytes) into a character
>stream.  URIs/IRIs are already a character stream, so the question doesn't
>arise.

Sorry, but that's wrong. URIs are indeed sequences of characters, but
they stand for sequences of octets. While in many cases, this distinction
isn't easy to see, the data: scheme provides a good example. If you
for example write: data:image/gif,....
and assume you don't use base64, then you may have the character
'3' in tha data, but that's not a '3' in the image, that's just
the octet 0x33 in the data for the image.

Regards,    Martin.
Received on Monday, 22 March 2004 15:36:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 13 January 2011 12:15:32 GMT