This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

SV: Encoding problem.


>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]