[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: Japanese characters show up as ? in browser
Subject: Re: Japanese characters show up as ? in browser
From: "andrew welch" <andrew.j.welch@xxxxxxxxx>
Date: Thu, 20 Jul 2006 10:03:01 +0100
|
On 7/20/06, David Nesbitt <dnesbitt@xxxxxxxxxxxxxxxxx> wrote:
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.
Ensure the browser is reading the file in the correct encoding and use
a font that contains those characters.
cheers
andrew
|
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
RSS 2.0 |
|
Atom 0.3 |
|
|