Subject: Re: [xsl] Encoding iso-8859-1 always return UTF-16 From: David_N_Bertoni@xxxxxxxxx Date: Wed, 4 Jul 2001 11:52:22 -0700 |
> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Encoding iso-8859-1 always re, Arthur Costa Lima | Thread | RE: [xsl] Encoding iso-8859-1 alway, Piers Haken |
[xsl] building a nodeset from selec, Hall, Kurt | Date | [xsl] PDF creation from FO using FO, ram ragu |
Month |