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
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:
encodingFilter
org.springframework.web.filter.CharacterEncodingFilter
encoding
Hi Lukasz,
Could you pls elaborate what you mean by "setup"?
Just to clarify, it is the URL that contains the Spanish characters.
For example, in /names/niño, niño is the resource ID that is passed to
methods such as show(), update() and destroy().
Thanks,
Alex
On Mon, Nov 24, 2008 at 9:00 PM,
2008/11/24 Alex Milanovic <[EMAIL PROTECTED]>:
> When I specify a resource ID that has Spanish characters such as ñ my
> REST Controller receives the character "mangled", i.e. probably
> erroneously decoded. How can I enable the app to use characters
> specific to Spanish? Which interceptor is resp
Hi All,
When I specify a resource ID that has Spanish characters such as ñ my
REST Controller receives the character "mangled", i.e. probably
erroneously decoded. How can I enable the app to use characters
specific to Spanish? Which interceptor is responsible for this?
Thanks,
Alex
-
5 matches
Mail list logo