W3C home > Mailing lists > Public > www-international@w3.org > January to March 2000

RE: Localization of XML

From: Langer, Paul <Paul.Langer@softwareag.com>
Date: Wed, 9 Feb 2000 09:03:48 +0100
Message-ID: <2339B88D6AA6D31187A80008C7E6F6722D9091@daemsg01.software-ag.de>
To: "'www-international@w3.org'" <www-international@w3.org>
Cc: "Langer, Paul" <Paul.Langer@softwareag.com>
-----Original Message-----
From: Nir Dagan [mailto:nir@nirdagan.com]
Sent: Tuesday, February 08, 2000 9:03 PM
Subject: RE: Localization of XML

> [snip]
> XML requires an processing instruction about the encoding
> whenever the encoding is not UTF-8.
> [snip]
> This is true even if a charset parameter is provided 
> by an HTTP header.

No.

Please see chapter 4.3.3 of the XML spec:
"In the absence of information provided by an external
transport protocol (e.g. HTTP or MIME), it is an error ...
for an entity which begins with neither a Byte Order Mark
nor an encoding declaration to use an encoding other than
UTF-8." (http://www.w3.org/TR/REC-xml#charencoding)

All the best,
Paul

-------------------------------------------------------------
Paul Langer               E-mail   Paul.Langer@softwareag.com
Software AG               Tel.     +49-6151-92-1912
Uhlandstr. 12             Fax      +49-6151-92-1613
64297 Darmstadt
Received on Wednesday, 9 February 2000 03:03:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:16:55 GMT