Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: UTF-9 encoding in FORM with POST

Altankov Peter

2004-01-13

Replies:

Try request.setCharacterEncoding("UTF-8") BEFORE you getParameter() out of it

> -----Original Message-----
> From: Mariano [mailto:mlopez@(protected)]
> Sent: 13 Януари 2004 г. 15:31
> To: 'Tomcat Users List'
> Subject: UTF-9 encoding in FORM with POST
>
>
> Hi, all
>
> I have installed tomcat 5.0.16 in windows 2000
> professional(j2sdk 1.4.2) and i hava a jsp page with:
>
> pageEncoding="utf-8"
> contentType="text/html; charset=UTF-8"
>
> and
>
> <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
>
> i had modified the URIEncoding="UTF-8" of my Coyote HTTP/1.1
> Connector in server.xml file.
>
> When i try to submit my form with GET method retrives right
> the values of my form in UTF-8 encoding but when i do it with
> POST method not.
>
> Any ideas why?
>
> Thanks
>
> Mariano
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.