[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Force UTF-8 output in text mode
It is not true that MSXML's XSLT processor always produces UTF-16. You will get a UTF-16 encoded result if you use transformNode, because that produces a BSTR which is UTF-16 by definition. However, the transformNodeToObject method allows you to get the transformation result returned as a DOM or streamed to an IStream object, and thus get UTF-8, ISO-8859-1 or other encodings supported by the MSXML processor. There is more information on this in my article on MSXML at http://www.perfectxml.com/articles/xml/XsltInMsxml.asp. Cheers, Stuart -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Greg Faron MSXSL (default of XML Spy) will always produce utf-16, I believe. 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
|