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.
*
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
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
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
>
> 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
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
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
7 matches
Mail list logo