[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|