RE: Localization of XML

-----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 UTC