Hi. I'm using Apache Tomcat 6.0.14, wich deploys a Struts 1.x web application.
I was using encoding ISO-LATIN-1 but i was having problems with the euro (€) char. Every time that i use a € char in a text box or in a text area, when the request arrives at struts Request Processor the value is already deformed. I've tried to change the encoding into UTF-8 but i also have problems. Using a HTTP Sniffer, this is what i could gather: HTTP Post Request into Tomcat: POST /DRCIEWeb/drcieFlow.do2 HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-silverlight, application/x-silverlight-2-b2, */* Referer: http://localhost:2001/WebApp/webFlow.do2 Accept-Language: pt Content-Type: application/x-www-form-urlencoded UA-CPU: x86 Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 1.1.4322; InfoPath.2; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022) Host: localhost:2001 Content-Length: 733 Connection: Keep-Alive Cache-Control: no-cache Cookie: menuPos=%260-1%261-1; JSESSIONID=665E5243A08AF2A83D586E9181487F64 _flowExecutionKey=_cDB824BB0-C9AA-F9D1-519F-27E8542F8DE9_k82B5EDEF-9F28-712A-FBAE-5D2965221283&anoEconomico=2008&siglaDirecaoServico=&requerente.nif=&requerente.nome=&nomescgp=&ac=&[EMAIL PROTECTED] The bolded text is the input text wich is: @€. However the € char is encoded using UTF-8 wich is represented by the %E2%82%AC string. When the request arrives in the Request Processor of Struts this is the value: @⬠There is probably something that i should configure in Tomcat for this to work.. however i'm completely lost! Can anyone help me please Thanks in advance. Best Regards João Simas -- View this message in context: http://www.nabble.com/Tomcat-6---Problems-with-encoding-tp20193292p20193292.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]