From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com]On Behalf Of
Rob Rohan
Sent: Saturday, July 12, 2003 12:30 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Microsoft.XMLDOM UTF-8 Encoding!
I am going way out here, so please swat me down if I am wrong. If I
remember correctly the first byte of a file will tell if it is (really)
utf-8 or iso-8859-1 encoded. You can say its utf-8 in the declaration,
Wrong.
but if the file is saved with an editor that is only capable of saving
in iso-8859-1 format, the first byte of the file will say so (something
about bit order I believe). What you could be running into is a file
No. The BOM (Byte Order Mark) is *optional* in UTF-8.
that truly is iso-8859-1 (or utf-16 etc) encoded saying its utf-8 - and
whatever process you are using to read the xml file doesn't buy what you
are saying.
Correct.
...
--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list