Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Character encoding !!!

Selva Chellappan
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a requirement to collect the information in Tamil language from jsp and store it in MySql database.
The JSP is getting the values properly, but when i tried to store it in db it is storing it in encoded format.
Am having a hard time is passing the values to the DB through Struts Action Class.
When i printed the values from request object in action class it says "இந்தியà" for India (இந்தியா).
And the encoding format was printed as Cp1252, but the table is in UTF-8 charset.

Please help me on, how to pass the UTF-8 values from jsp through Action class and store it in table of UTF-8 charset.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic