RE: [xsl] Japanese characters show up as ? in browser

Subject: RE: [xsl] Japanese characters show up as ? in browser
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 20 Jul 2006 19:33:54 +0100
> <Id>&#x65E5;&#x672C;&#x8A9E;</Id>
> <Description>&#x82B1;&#x5B50;</Description>
> 
> These characters come from Java which has them in UTF-8.  
> Does the XML snippet above look correct?  Or does the 
> &#x1234; format mean some other encoding is being used?

No, they look fine.

Can't think of any reason why text in the stylesheet should behave
differently from text in the source document. I think you need to construct
a small complete working example to illustrate the problem. Note that it
helps to eliminate the browser from the equation: see what the generated
HTML looks like in a text editor.

Michael Kay
http://www.saxonica.com/

Current Thread