The information in this article applies to:
SYMPTOMS
When using the loadXML method of the MSXML parser, attempting to include non UTF-16 character sequences in the BSTR parameter passed to loadXML may result in the following error message:
Furthermore, attempting to change the encoding of the string, specifying an "encoding" attribute on the main XML processing instruction, for example results in the following error message:
CAUSEThe string parameter must be BSTR format. BSTR format strings are always UTF-16. RESOLUTION
Scripting developers have two options available:
See the following Knowledge Base article for more information: Q223337 INFO:Loading/Saving XML Data with Internet Explorer XML Parser Specifically, the Load method can be passed a SAFEARRAY stuffed full of tasty XML data encoded in any scheme. STATUSThis behavior is by design. Additional query words:
Keywords : kbGrpInet kbIE500 kbXML kbDSupport |
Last Reviewed: January 11, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |