Solved

Displaying Japanese chars from XSL.

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Uploading files to the web server has become common part of almost any kind of web application. People use different technologies to solve this, but regardless of the technology used, it is always useful to have some kind of progress indicator shown…
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
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.

743 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

11 Experts available now in Live!

Get 1:1 Help Now