JSP Character Sets

S

sonofseymour

I'm having some difficulties displaying Chinese characters (utf-8)
within a JSP. I've tried all of the obvious things: contenttype and
charset within a page directive; an html meta tag with equivalent
options; and an invokation of response.setContentType. But no luck.
What is particularly puzzling is that I have a servlet embedded within
the page, and the servlet is able to write the characters that I want.
Is there anything else I should be trying?

Thanks in advance.
 
R

Ray in HK

I guess you are using tomcat and I've met the same problem. The answer
could easily be found in google in minutes. You may try it out.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top