• 0

[JEE] JSP printing unicode/ non-unicode characters


Question

I am writing a small web application, which fetches HTML codes from a web site, extract useful data and display them. The data going to be displayed contains non-unicode characters (the encoding of web page is set to Big5), and I have also set the charset attribute of my JSP page to be Big5. However, the output from JSP is still un-readable; the output still looks like mix up of monster characters.

untitled1.jpg

untitled2.jpg

I think it is problem of Java, becoz when I change the encoding to Big5 in browser (IE 8), the characters can be displayed properly. Do I have to add any switches to compiler to print non-unicode characters on JSP?

Thank you.

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.