Encoding attribute in IE5/MSXML (Was: RE: MSXML for Java Ques tions)

Nanshan Zeng nzeng at microsoft.com
Mon Sep 13 19:16:20 BST 1999


On your encoding quesion: If you want to switch to an encoding, you have to
make sure your xml document is indead in that encoding. If you specify the
encoding of an ascii xml document as "UTF-16", you will surely get the error
message you have seen...

Best wishes,

-Nanshan

-----Original Message-----
From: Nik O [mailto:niko at cmsplatform.com]
Sent: Monday, September 13, 1999 9:00 AM
To: - XML-Dev
Subject: Encoding attribute in IE5/MSXML (Was: RE: MSXML for Java
Questions)


It has been my observation that IE5 (i'm using version "5.00.2014.0216IC")
will only accept two values for the "<?xml ..encoding=".."?> declaration:
  1)  "UTF-8"; or
  2)  "ISO-8859-1".
All other values that i've tried, including "UTF-16", cause the error
message: "Switch from current encoding to specified encoding not
supported.".

This would seem to be yet another indication that IE is *not* a conformant
XML 1.0 parser/application, as support of both UTF-8 and UTF-16 is a
requirement, not merely an option (see section "2.2 Characters", wherein it
is stated: "All XML processors must accept the UTF-8 and UTF-16 encodings of
10646..").

I hope someone from MS who is on this list can tell us when the encoding
attribute will be fully-supported in IE5 ("5.00.2525.0666IC", IE6?), as well
as when we might expect proper XSL support in IE5?

Regards,
-Nik O, Teton Data Systems, Jackson, Wyo.



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN
981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following
message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list