This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: encoding="iso-8859-1"



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]