Hello guys,
I got a problem. I'm building a site supporting multi langages.
So I chose UTF8 for encoding, That is, the page's content
type is set for UTF8. But user may type in native code such
as SJIS when they submit search key words. when I get the
keyword in servlet by calling "getParameter", I got a corrupted
String. If I change the HTML pages' encoding to Shift-JIS,
I can get the right string in servlet.
I have checked the archive and got some tips for sending native string.
But they seems to have the same encoding for the current
page and typed in string in the HTML form.
What can I do about this? Can I keep using UTF8?
Thank you for any help.
Ning
___________________________________________________________________________
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