I have recently tried to get our JSP application to work with the character
set iso8859_2 and am experiencing a few problems

I am using tomcat 3.2.3 with jdk1.3.1 on Windows 2000 and solaris. When I
send back a URL with parameters with characters in the iso8895_2 character
set, I am getting an exception in tomcat. It appears as though the
getParameter() call cannot handle having unicode characters in the string,
which the javascript command encode inserts. (Trying this with JRun 3.1 with
jdk1.3, I did not experience this same problem.)

The string being sent back is:
Body.jsp?remove=F2%20W%B3a%u0153ciciel%20budynku The correct polish
representation for this string is:  (this may not appear correctly)
F2 Właoeciciel budynku 
The expception I am getting is: java.lang.IllegalArgumentException: Decode
error
at 
org.apache.tomcat.util.RequestUtil.unUrlDecode(RequestUtil.java:346) 

Any help on solving this problem I would greatly appreciate.
Thankyou
Stuart


_____________________
Stuart Richardson
Senior Software Engineer
Space-Time Research
http://www.str.com.au
ph: + 61 (0)3 9805 3418
_____________________
Legal Disclaimer: 
This communication has no force in contract law
unless expressly stated and transmitted by an 
authorised officer of the Company


Reply via email to