[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Unwanted utf-16 encoding


Subject: [xsl] Unwanted utf-16 encoding
From: r.muetzelfeldt@xxxxxxxx
Date: Thu, 22 Jan 2004 15:21:43 -0000

Hello,

I have an XML document with a stylesheet processing instruction.  The 
referenced stylesheet includes 
     <xsl:output method="xml" encoding="utf-8" /> .
When I open the XML document in IE6 (in Windows 2000), the resulting 
output has utf-16 encoding (I'm using Microsoft's viewer for XSL output - 
msxmlvw - to see the result).   

This is preventing my MathML viewer from displaying correctly.   When I 
take the XSL output, paste it into a file, and change the encoding to utf-8, it 
works fine.

Can someone please tell me what I'm doing wrong, and how to get utf-8 
encoding in the XSL output?

Thanks,
Robert Muetzelfeldt


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords