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] Enviado el: lunes, 17 de mayo de 2010 16:59 Para: Tomcat Users List Asunto: Re: Problem using "response.sendRedirect" to redirect to URL that includes "ñ" or tilde 2010/5/17 Perez Manglano, Moises <moises.per...@t-systems.es>: > > 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 (URLEncoder.encode("www.coruña.es"), "UTF-16"); --> > The result in the web browser is: "www.coru%fe%ff%00%f1a.es/" > > In all cases the web browser (IE8, Firefox 3.6) can´t find the server. > The true domain name for that server is http://www.xn--corua-rta.es/ http://en.wikipedia.org/wiki/Internationalized_domain_name Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org This e-mail and any attachments may contain confidential or privileged information. Any unauthorized copying, use or distribution of this information is strictly prohibited. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org