I have a screen where user can supply any character in a textarea. A char may be ascii char or some japanese char. On the server side I am trying to read input string by request.getParameter() method; And then I am setting this string into a preparedstatement to store value in database. I have mentioned charset of html page as utf-8. Also, My database has been configured to store utf encode chars (And While setting up the connection I am setting the correct encoding UTF to specify the client encoding, results encoding etc)
When I read back the string on the screen. I do not see what I entered. However ascii characters are being read back from database and being shown on screen properly.
Please tell me where am I missing? [ May 12, 2008: Message edited by: Pushker Chaubey ]
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.