?
Solved

Displaying Japanese chars from XSL.

Posted on 2001-06-14
3
Medium Priority
?
232 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 100 total points
ID: 6463483
could I help you, please accept the answer
0

Featured Post

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

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

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
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…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

777 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