[
Lists Home |
Date Index |
Thread Index
]
- From: Murata Makoto <mura034@attglobal.net>
- To: xml-dev@lists.oasis-open.org
- Date: Fri, 21 Apr 2000 15:46:10 +0900
>if the first line is just
><?xml version = "1.0">
>what does this equate to in terms of encoding ?
If the XML document has a MIME header, the charset parameter
in the MIME header will determine the encoding. MIME headers
are used when documents are delivered by HTTP, SMTP, etc.
More about this issue, see RFC 2376 (XML Media Types)
If the XML document is not associated with a MIME header, the
document is in UTF-8. However, when the document actually begins
with the BOM, the document is in UTF-16. This is described in
XML 1.0 (Appendix F). An up-to-date information is available
in the official errata list of XML, which is referenced from
the XML recommendation.
Cheers,
Makoto
Internet: mura034@attglobal.net
Nifty: VEQ00625
***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************
|