Re: REST: Spanish characters in resource IDs

2008-11-25 Thread Alex Milanovic
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

Re: REST: Spanish characters in resource IDs

2008-11-25 Thread Lukasz Lenart
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

Re: REST: Spanish characters in resource IDs

2008-11-25 Thread Alex Milanovic
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,

Re: REST: Spanish characters in resource IDs

2008-11-24 Thread Lukasz Lenart
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

REST: Spanish characters in resource IDs

2008-11-24 Thread Alex Milanovic
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 -