Thanks, this works for the content. For the URLs the solution is in
Tomcat's server.xml, I added URIEncoding="UTF-8". This is not really
related to struts though :).

Reference: http://www.jspwiki.org/wiki/TomcatAndUTF8

Cheers,
Alex

On Tue, Nov 25, 2008 at 9:14 AM, Lukasz Lenart
<[EMAIL PROTECTED]> wrote:
> 2008/11/25 Alex Milanovic <[EMAIL PROTECTED]>:
>> Could you pls elaborate what you mean by "setup"?
>
> Example base on Spring but there are some standalone solutions:
>
>    <filter>
>        <filter-name>encodingFilter</filter-name>
>        
> <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
>        <init-param>
>            <param-name>encoding</param-name>
>            <param-value>UTF-8</param-value>
>        </init-param>
>        <init-param>
>            <param-name>forceEncoding</param-name>
>            <param-value>true</param-value>
>        </init-param>
>    </filter>
>
>    <filter-mapping>
>        <filter-name>encodingFilter</filter-name>
>        <url-pattern>/*</url-pattern>
>    </filter-mapping>
>
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to