-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 5/18/2010 4:18 AM, André Warnier wrote:
Among other bizarre things, it does mean that in a URL, one has to
encode the hostname using one method, and the rest of the URL using
another method. As if encoding issues were not already
I´ve tried this:
-- response.sendRedirect (www.coruña.es); -- The result in the web browser
is: www.coru%f1.es
-- response.sendRedirect (URLEncoder.encode(www.coruña.es), UTF-8); --
The result in the web browser is: www.coru%c3%b1a.es.
-- response.sendRedirect
This server was just an example. I have to fix my code to redirect to any URL
that may contain ñ or tildes, because this is a field than any user can fill
in a web form.
Thanks for your reply.
Best regards.
-Mensaje original-
De: Konstantin Kolinko [mailto:knst.koli...@gmail.com]