Hi Manos, Lukasz,

and thanks for the replies. Setting the URIEncoding="UTF-8" in the
server.xml didn't do the trick for me, but so did an UTF8Filter in the
web.xml.

Best regards,
Ulf

On Mon, Mar 15, 2010 at 11:20 AM, Manos Batsis
<manos_li...@geekologue.com>wrote:

> Ulf Liedén wrote:
>
>> when my struts application receives form entries containing french
>> character
>> (i.e. é è) they are converted to something else, like é è.
>>
>> This has probably something to do with how the request is encoded. I've
>> tried to add
>>
>> ServletActionContext.getRequest().setCharacterEncoding("UTF-8");
>>
>> to the action class validate() method, and
>>
>> <%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
>>
>> to the JSP, but this doesn't help. Any suggestions?
>>
>
>
> If you are using Tomcat, you need to update $CATALINA_HOME/conf/server.xml
>
> More specifically, you need to add the
>
> URIEncoding="UTF-8"
>
> to the Connector element for port 80 or 8080.
>
> Cheers,
>
> Manos
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

Reply via email to