Solved

Displaying Japanese chars from XSL.

Posted on 2001-06-14
3
225 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now