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.
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?
Question
Guest GraphiteCube
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.
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