"Attila Szegedi" <[EMAIL PROTECTED]> writes:

> You are fully aware that URLEncoder.encode(String, String) exists only under
> JDK 1.4, are you? (Also, URLEncoder.encode(String) is only deprecated from
> there upwards...)
> 
> If you want your code to have charset-sensitive URL encoding and still
> remain compatible with JDK < 1.4, you need to use a hack like
> 
>   URLEncoder.encode(new String(url.getBytes(encoding)))
> 
> Naturally, this approach is fragile in case your platform default encoding
> is something exotic, altough it works fine with ISO-8859-x encodings being
> default encodings for the platform.
> 
...
> > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18301
...

Hey guys, we appreciate the comments, but I guess ya missed the big
"DO NOT REPLY" in the subject line.  You've got great input here --
let's make sure it gets recorded in the issue itself.  This one's on
me.

- Dan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to