I had the same problem, and I get to correct this using a filter
I was testing with request.setCharacterEncoding("UTF-8");
also but :(
And with the filter all works ok now
Luck
Luis Gervaso from Spain
On Tue, 19 Oct 2004 13:39:11 +0200, V�clav�k Radek
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> Try setting request character encoding to UTF-8. I've had the same problem
> and solved it by extending ActionServlet to e.g. MyActionServlet (of course
> you have to rewrite this in struts-config.xlm, too) and inserted this as the
> first line of that servlet:
>
> request.setCharacterEncoding("UTF-8");
>
> 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]
> >
>
>
--
Un saludo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]