Subject: [xsl] Japanese characters show up as ? in browser From: "David Nesbitt" <dnesbitt@xxxxxxxxxxxxxxxxx> Date: Wed, 19 Jul 2006 18:54:58 -0700 |
I am using Xalan to transform XML into HTML. The Japanese characters, however, are shown as question marks in the browser. Here is a snippet of XML: <Id>日本語</Id> <Description>花子</Description> Here is the corresponding snippet of XSL that transforms this XML: <option> <xsl:attribute name="value"><xsl:value-of select="Id"/></xsl:attribute> <xsl:value-of select="Description"/> </option> Here is the HTML source I am getting from the browser: <option value="???">??</option> I am using encoding="UTF-8" in the xsl:output element. Any ideas of what may be going wrong? I have tried both FireFox and IE. Regards, Dave
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] template precedence, Trevor Nicholls | Thread | Re: [xsl] Japanese characters show , andrew welch |
[xsl] template precedence, Trevor Nicholls | Date | Re: [xsl] Japanese characters show , andrew welch |
Month |