Another solution is to implement a Filter that does request.setCharacterEncoding("UTF-8");
Dima. VR> Hi, VR> Try setting request character encoding to UTF-8. I've had the same problem VR> and solved it by extending ActionServlet to e.g. MyActionServlet (of course VR> you have to rewrite this in struts-config.xlm, too) and inserted this as the VR> first line of that servlet: VR> request.setCharacterEncoding("UTF-8"); VR> Radek >> -----Original Message----- >> From: Arnaud Vandyck [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, October 19, 2004 1:36 PM >> To: Struts Users Mailing List >> Subject: Struts and UTF-8 >> >> >> Hi, >> >> I'd like to set UTF-8 for my application but I have problems when >> putting accents in the database... All the pages are in UTF8 >> but as soon >> as I put an accent in a texfield and submit it, the accent seems to be >> translated in latin1 or something and I got strange characters in the >> updated textfield and in the database... >> >> The postgres database is in UNICODE. >> >> Thanks for your help. >> >> -- >> Arnaud Vandyck >> http://fosdem.org/ >> Free and Open Source Developers' European Meeting >> February 26-27 2005, >> Bruxelles, Belgium >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> -- Best regards, Dmitrii mailto:[EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]