Re: encoding="iso-8859-1"

Subject: Re: encoding="iso-8859-1"
From: mnaughto@xxxxxxxxxxx
Date: Fri, 16 Jun 2000 10:40:19 +0100
Hi,

The "LoadXML" method takes a BSTR (Unicode String) parameter.

Therefore, the only acceptable encodings are "UTF-16", "UCS-2" or equivalent
(e.g. no encoding declaration at all).

To be consistent with this approach for files, you should save the text into a
Unicode text file.

One way to do this easily is to use the Microsoft ScriptingRuntime component's
FileSystemObject and TextStream objects.

FileSystemObject.CreateTextFile has an optional parameter to specify Unicode
format.

Thanks,
Martin



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread