Hi folks,

I was trying to use jquery ajax to receive the utf-8 HTML from a Java
servlet.  Even I set the servlet response to "Content-Type: text/html;
charset=utf-8", it still shows ???? if there are utf-8 chars in the
returning HTML. Now, my hack is to use utf-8 XML to wrap the HTML. It
works, but I feel it is a little bit urgly.  Anyone please tell how I
can tell jquery ajax to decode the returning HTML with utf-8?

Thanks in advance!


Reply via email to