RE: IllegalArgumentException Exception in URLDecoder
"Christian Cryder" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
Ok, I'm a little late on this discussion, but...
> Looks like something like that was already done before and reverted by
> Christian for reasons that aren't documented.
> ...
> Here is what was commented out...
>
> try {
> queryString =
> java.net.URLDecoder.decode(queryString, "UTF-8");
> } catch (UnsupportedEncodingException e) {
> System.out.println("Encoding Exception: "+e);
> e.printStackTrace();
> }
>
> Here is what replaced it...
>
> queryString =
> java.net.URLDecoder.decode(queryString);
>
I vaguely remember doing this...I think the only reason I changed it was
because I was trying to avoid using a deprecated method, but then that made
us dependant on the newer servlet spec, which we didn't want to do yet, and
so I reverted it.
I _think_ that was the context for the decision - it wasn't like this newer
method was in use for a while.
So all that to say that whatever issue Kirk is experiencing, I _don't_ think
it was caused by this particular change. Of course, I could be wrong... :-)
I'll keep reading the threads and then comment more as needed...
Christian
----------------------------------------------
Christian Cryder
Internet Architect, ATMReports.com
Project Chair, BarracudaMVC - http://barracudamvc.org
----------------------------------------------
"Coffee? I could quit anytime, just not today"