Subject: RE: Microsoft.XMLDOM UTF-8 Encoding!
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Sat, 12 Jul 2003 08:41:56 +0200
|
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Rob Rohan
> Sent: Saturday, July 12, 2003 12:30 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: 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
| Current Thread |
Julian Reschke - Sat, 12 Jul 2003 02:42:34 -0400 (EDT) <=
- Rob Rohan - Sat, 12 Jul 2003 02:57:05 -0400 (EDT)
Daniel Bibbens - Fri, 11 Jul 2003 22:51:26 -0400 (EDT)
|
|