| Author |
Problem in handling the special spanish Character
|
Girjesh Trivedi
Greenhorn
Joined: Nov 16, 2005
Posts: 9
|
|
Problem in handling the special spanish Character :
We pass some parameters to a java class through a JSP by using Ajax request.
Before passing those parameters we use escape(params); java scritp function. then append them to url and pass them through Post method.
JSP page has set the following settings.
<% response.setContentType("text/html;charset=ISO-8859-1"); %>
<% request.setCharacterEncoding("ISO-8859-1"); %>
When I retrive them in java file using String s_params = req.getParameter("s_params"); then special character displayed as square box.
Please help me to fix the problem.
|
 |
Rodolfo Baeza
Greenhorn
Joined: Sep 08, 2003
Posts: 3
|
|
Hi, if you are using Tomcat maybe you can try using the filter from this page: http://wiki.apache.org/tomcat/Tomcat/UTF-8
That solved my encoding problems with words with accents in spanish.
|
 |
Girjesh Trivedi
Greenhorn
Joined: Nov 16, 2005
Posts: 9
|
|
|
Thanks. but I am using Weblogic.
|
 |
 |
|
|
subject: Problem in handling the special spanish Character
|
|
|