|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Encoding iso-8859-1 always return UTF-16
> I'm using MSXML 3.0 and XSLISAPI 2.1 Filter on iis. > > I have a .pasp file to generate the xml and I'm using xls to convert to html. > The PI instruction on xsl is > > <?xml version="1.0" encoding="iso-8859-1"?> The XML declaration is not a PI, even though it looks like one. Since the stylesheet is just another XML document, it applies only to the stylesheet itself -- It has no impact on the result of the transformation. > but always the output in html is > > <META http-equiv="Content-Type" content="text/html; charset=UTF-16"> > > how do i solve this problem? See the XSLT 1.0 recommendation for information about xsl:output: http://www.w3.org/TR/xslt#output I believe you'll also need to write the output to an IStream, or use the command line msxsl utility. Otherwise, the Microsoft processor use UTF-16 as the output encoding. > Tanks > Arthur Costa Lima > CPM - Brazil You're welcome... Dave 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
|

Cart








