ashutosh9910 Posted February 15, 2006 Posted February 15, 2006 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 Quote http://vyasashutosh.blogspot.com
Administrators PlausiblyDamp Posted February 15, 2006 Administrators Posted February 15, 2006 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 Also regardless of the format the aspx page is saved in have you specified an encoding for the response? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
ashutosh9910 Posted February 15, 2006 Author Posted February 15, 2006 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 Quote http://vyasashutosh.blogspot.com
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.