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

Subject: RE: [xsl] Japanese characters show up as ? in browser
From: "David Nesbitt" <dnesbitt@xxxxxxxxxxxxxxxxx>
Date: Thu, 20 Jul 2006 21:09:18 -0700
Michael,

Thanks again for your insights.

I think I have discovered that this is an issue with client-side Axis.
Although I see the characters properly in TcpMon, when I dump the
SOAPEnvelope returned by the invoke() method, the characters have been
replaced by question marks.  I am now trying to track this down from the
Axis perspective.

Regards,
Dave

-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx]
Sent: Thursday, July 20, 2006 11:34 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] Japanese characters show up as ? in browser

> <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