You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Laura Lent <ll...@avaya.com> on 2001/03/08 04:20:42 UTC
tomcat problems with double-byte form data?
Hi.
I'm having problems when I try to submit double-byte form elements using
"method=post" and using Tomcat 3.2.1 and Win NT 4.0.
In earlier versions of our product, we used Jrun as the servlet engine.
With Jrun, we ended up having to use the Javascript "escape()" function
to encode the double-byte form elements. Once we did that, everything
worked fine.
If we try to use the Javascript "escape()" function with Tomcat, we get
a java.lang.IllegalArgumentException: Decode Error at
org.apache.tomcat.util.RequestUtil.unUrlDecode(RequestUtil.java: 353).
If we don't use the escape function, the double-byte stuff ends up as
the ever-popular ??? garbage.
I found a patch for Tomcat 3.2.1 that was supposed to fix a some kind of
bug for multi-byte characters, but it didn't help.
Any ideas?
--
Laura E. Lent
llent@avaya.com