Yes, can I have it too. Thanks.
-----Original Message----- From: Evan Child [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 8:21 AM To: 'Tomcat Users List' Subject: RE: Foreing Character encoding from jsp form (Character Encoding doesn't work) What browser are you using to submit the form? Before you start getting parameters, you need to do a request.setCharacterEncoding("UTF-8"); I couldn't understand from below if you're already doing that. Assuming that you ultimately want the characters to end up in a utf-8 encoding. If the browser url-encodes the parameters, (for example if this is an HTTP GET request), you'll need to get a decoder to decode that and convert it into regular UTF-8. I have a decoder in java, if you want it. Thanks, Evan -----Original Message----- From: Steve Vanspall [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 6:27 PM To: Tomcat Users List Subject: Foreing Character encoding from jsp form (Character Encoding doesn't work) HI there, I am having problem with reading foreign characters from a form. I am trying to make it do that Chinese characters can be entered. When I enter them the a received by the request in the form 寇蔆 etc... I have set the character encoding and filter for UTF-8 in web.xml, I know that it goes through the filter, but the output is the same. presumably because it reads each character in as '&' '#' '2' '3' 4' '9' '5' ';', seeing these character as regular ascii character, it doesn't try to change them All my pages are set to UTF-8 charcter encoding. I have altered the filter code myself to intercept the filter and recursive replace these code. basically converting the integere one by one into chars. two problems arise from this. 1. When I then add then string them together using a string buffer/string I get a string of '??????', this is also how it is entered into the database (which is set to UTF-8 encoding also) 2. Surely there is a better way to do this. Can anybody help me here, Thanks in advance Steve Vanspall -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>