RE: [xsl] Force UTF-8 output in text mode

Subject: RE: [xsl] Force UTF-8 output in text mode
From: "Stuart Celarier" <stuart@xxxxxxxxxxx>
Date: Thu, 9 May 2002 13:27:45 -0700
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


-----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:

Current Thread