XML to show Japanese characters

ashutosh9910

Active member
Joined
May 13, 2005
Messages
44
Hi all,

I am facing a strange problem.

I have an XML that feeds data to an aspx page that renders the corresponding xsl file.

Now the xsl and xml file contains data in Japanese language.
In xsl, this data is shown in Japanese characters and in xml, it is shown as junk characters.

Now as instructed, in order to display this xml on the aspx page, I am required to save the aspx page with encoding (Unicode - Codepage 1200)

I saved the same but still am not able to get the Japanese characters rendered. It still shows the junk characters.

How can I get the web page to display japanese characters ?


Thanks in advance

Ashutosh
 
What encoding is the XML file saved with? Also does it have a valid declaration at the top including the encoding type?
Hopefully it should have something like
Code:
<?xml version="1.0" encoding="UTF-16"?>

Also regardless of the format the aspx page is saved in have you specified an encoding for the response?
 
As per my Project Leader, i am required to change the encoding of aspx page only and no such entry in xml, even though i tried a few things like saving xsl with the same encoing and even tried using the encoding tag in xml as you suggested but no help.

Its still the same..


Ashutosh

PS - can u plz let me know how can i set the encoding for Response ?

Thanks
 
Back
Top