[I18n-sig] XML and UTF-16
M.-A. Lemburg
mal@lemburg.com
Thu, 31 May 2001 19:13:03 +0200
What is the standard file layout to use for storing an XML file
in UTF-16 ?
1) encode the whole file in UTF-16 (possibly prepended with a BOM)
or
2) write the first line containing the XML header (which has the
encoding information) in ASCII and then proceed with UTF-16
starting after the newline character
or
3) none of the above: you simply don't do this ;-)
Thanks,
--
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Company & Consulting: http://www.egenix.com/
Python Software: http://www.lemburg.com/python/