Why doesn't an ajax call properly display accented Latin-1 charachters?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   chris_weit
Posted On:   Sunday, May 6, 2007 07:28 PM

Why doesn't an ajax call properly display accented Latin-1 charachters?

I'm using an ajax call to display an HTML page with accented charachters. When this call is placed, the resulting displayed response does not show the accented charachters. Any idea why?
Thanks!

Re: Why doesn't an ajax call properly display accented Latin-1 charachters?

Posted By:   Anonymous  
Posted On:   Monday, May 7, 2007 03:42 AM

make sure you have set


response.setContentType("text/html;charset=UTF-8");


and in html/jsp page



   

the value of charset attribute may vary respective to the charset you are using
About | Sitemap | Contact