D
dschectman
I have an application running on iplanet app server 6.5/web server
6.0. The application server exclusively handles servlets and JSPS.
I created a test form that posts one field to the server. I then
created a JSP that gets the value of the field posted to display on
the screen. Both files set the encoding to UTF-8.
reuqest.getParameter returns a string that appears to be partially
utf-8 encoded and partially ISO-8895-1 encoded. I have to transoform
the string with String correctValue= new
String(name.getBytes("ISO-8859-1"), "utf-8"); in order to display the
Japanese characters
I set the UTF-8 enconding the web server web-apps.xml. This has no
impact on the application server. Is there a similar confiuration for
the app server or is ISO encoding built in to the web connector? If
possible I would like ot avoid adding the above transformation to all
servlets and JSPS that call request.getParameter
Thanks,
David
6.0. The application server exclusively handles servlets and JSPS.
I created a test form that posts one field to the server. I then
created a JSP that gets the value of the field posted to display on
the screen. Both files set the encoding to UTF-8.
reuqest.getParameter returns a string that appears to be partially
utf-8 encoded and partially ISO-8895-1 encoded. I have to transoform
the string with String correctValue= new
String(name.getBytes("ISO-8859-1"), "utf-8"); in order to display the
Japanese characters
I set the UTF-8 enconding the web server web-apps.xml. This has no
impact on the application server. Is there a similar confiuration for
the app server or is ISO encoding built in to the web connector? If
possible I would like ot avoid adding the above transformation to all
servlets and JSPS that call request.getParameter
Thanks,
David