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
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 th

Re: Struts and UTF-8

2004-10-19 Thread Luis Gervaso
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, > > T

RE: Struts and UTF-8

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