>I want to print a String in chinese to the browser from my
>servlet,but I only get the charscter '?' on the browser.

Have you tried first to put in header what language will you use:

res.setHeader("Content-Language", "ja");

This is for Japanesse, for Chinesse it is probably ch. You can find
table somewhere on the Net. After that just use unicode characters or
HTML &foo; characters.

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to