RE: xml:output encoding as iso-8859-1 always comes ou
I get this result loading the XML file (which includes a reference to the stylesheet) into IE5. I get the same result in VB using: myts.Write xmlDOMSource.transformNode(xmlDOMHTMLStyle) where myts is the textstream of a non-Unicode text file. If I am not supposed to be using transformNode then I am not clear, even from the SDK documentation, as to what I should use? Thanks. Neil > -----Original Message----- > From: Julian F. Reschke [SMTP:julian.reschke@xxxxxx] > Sent: Friday, March 02, 2001 2:14 PM > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: RE: xml:output encoding as iso-8859-1 always comes > out as UTF-16 > > > I am using MSXML3 with: > > > > <xsl:output method="html" encoding="iso-8859-1"/> > > > > but in the output I always get: > > > > <META http-equiv="Content-Type" content="text/html; charset=UTF-16"> > > Check the code which does the transformation. You probably use > transformNode > or the "xml" property to obtain the result, in which case the encoding > ALWAYS is UTF-16 (check the MSXML SDK). > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list 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