Posted By:
Yogesh_Kumar
Posted On:
Wednesday, August 15, 2007 08:01 PM
Hi, I have a JSP with UTF-8 page encoding (I have charset=UTF-8"> in HTML head). This JSP receives form data from external website which are encoded in ISO-8859-1. I have set request.setCharacterEncoding("ISO-8859-1"); in the beginning before getting parameter. I am trying to convert these ISO-8859-1 to UTF-8 before presenting (or storing it in Database) them. Following is my code: Configuration: Application server: Resin on Windows JDK (JVM): jre1.5.0_11 JVM default charset: UTF-8 Code: <% request.setCharacterEncoding("ISO-8859-1"); Sy
More>>