Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

  • Administrators
Posted

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?

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...