Solved

Displaying Japanese chars from XSL.

Posted on 2001-06-14
3
228 Views
Last Modified: 2006-11-17
Hi..

I hv an xml and xsl file containing Japanese characters.
I am doing a server side xml transformation but could not
correctly display the japanese labels used in the xsl in the client browser. It displays ???? instead.

But the contents in the xml file are displayed properly.
I hv japanese text support already installed on my pc.
But I fail to understand why the contents in the
<td>japan chars</td> in the xsl file is not displayed correctly.

The same chars hardcoded in the ASP is displayed right even but only xsl labels are not displayed correctly.

Pls suggest.
0
Comment
Question by:shivanand
  • 2
3 Comments
 
LVL 10

Expert Comment

by:dij8
ID: 6190461
Just a guess, but does the server have Japanese character support?  As in IE on the server.  I do not know if it is required or not.  Although displaying the hard coded ASP seems to suggest either it does or it is not necessary.  Something to try all the same.
0
 
LVL 3

Expert Comment

by:graf27
ID: 6217674
in your xml-file, have you choosen the right charset (UTF16) ?

<?xml version="1.0" encoding='UTF16'?>

and in your XSL-translation to the  output use

<xsl:output method="text" />
<xsl:text disable-output-excaping="no">your content here ... </xsl:text>
0
 
LVL 3

Accepted Solution

by:
graf27 earned 50 total points
ID: 6463483
could I help you, please accept the answer
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question