Re: Struts and UTF-8 (solved)

2004-10-20 Thread Arnaud Vandyck
package ste.filters; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; /** * UTF8 request filter. *

Re: Struts and UTF-8

2004-10-19 Thread Luis Gervaso
I was using action forms also I was changing file.encoding in System properties The problem is in the request, i am sure, what OS are you using? WIN32(use Cp(i don't remember exactly whait is) in file.encoding and it work ok) or UNIX(using ISO_8859_1 and UTF-8 work ok also) If you can't

Re: Struts and UTF-8

2004-10-19 Thread Arnaud Vandyck
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

Re: Struts and UTF-8

2004-10-19 Thread Dmitrii CRETU
esday, 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

Re: Struts and UTF-8

2004-10-19 Thread Luis Gervaso
> > 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: S

RE: Struts and UTF-8

2004-10-19 Thread Václavík Radek
quot;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

Struts and UTF-8

2004-10-19 Thread Arnaud Vandyck
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 textfi