W3C home > Mailing lists > Public > www-svg@w3.org > November 2004

Re: SVG 1.2 Comment: image/svg+xml;charset=""

From: Chris Lilley <chris@w3.org>
Date: Wed, 24 Nov 2004 16:03:51 +0100
Message-ID: <7110388424.20041124160351@w3.org>
To: Robin Berjon <robin.berjon@expway.fr>
Cc: Bjoern Hoehrmann <derhoermi@gmx.net>, www-svg@w3.org

On Wednesday, November 24, 2004, 3:44:41 PM, Robin wrote:

RB> Bjoern Hoehrmann wrote:
>> * Robin Berjon wrote:
>>>Those are the precise people we do *not* want to put the burden of 
>>>resolving this on. They will have to deal with uncooperative server 
>>>administrators that'll refuse to let them control the character encoding
>>>because all they (think they) know about character encodings is that you
>>>have to provide one to avoid certain XSS attacks.
>> Are you saying that the proposed registration would avoid that, i.e.,
>> that http://www.bjoernsworld.de/temp/utf8-or-iso-8859-1.svg must be
>> considered UTF-8 encoded by all implementations?

RB> Ideally yes. It is, after all, what the XML document says.

Its also how the actual document is encoded. ö is encodes as two bytes,
not one.

More interesting of course would be the reverse test - Björn, could you
set that one up too? Make the document be encoded in 8859-1, with an xml
encoding declaration of UTF-8 and an http header that sets the
non-existent charset parameter in the SVG media type to ISO-8859-1.

 Chris Lilley                    mailto:chris@w3.org
 Chair, W3C SVG Working Group
 Member, W3C Technical Architecture Group
Received on Wednesday, 24 November 2004 15:03:52 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:01 UTC