SV: [xsl] Encoding problem.

Subject: SV: [xsl] Encoding problem.
From: Søren C Halling <sch@xxxxxxxxxx>
Date: Fri, 16 Aug 2002 16:33:40 +0200
>Try fixing the encoding of the *output* to ISO-8859-1. The encoding
>attribute on the XML declaration just talks about the XML file itself.
>You want to tell MSXML to use the ISO-8859-1 encoding on the output it
>generates:

<xsl:output method="html" version="4.0" indent="yes"
            encoding="ISO-8859-1" />

I use tried the output encoding, but it did not do the trick. Actually it did not do anything. If I use japanese or chines or what-ever.. there are no changes to the HTML page generated.

>Also, make sure that you're not hand-generating a Content-Type meta
>element in the head of your HTML document -- that will get generated
>for you by the processor. And make sure that your source document is
>actually in the encoding that it says it's in!

There are no elements in the HTML the does any encoding.
The xml document is in "UTF-8" - does that present a problem?

thanks 
Søren

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


Current Thread