struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vítor Souza <vitorso...@gmail.com>
Subject Re: Accented characters replaced during parameter input
Date Wed, 29 Jul 2009 15:46:32 GMT

Thanks, it worked!

But still I'm very curious as why the container behaves like this, if
everything points to using UTF. This is really weird. Is this the expected
behavior according to the Servlet/JSP specs?

Anyways, life goes on. Thanks again.

Vítor Souza


Greg Lindholm-2 wrote:
> 
> Just had this question come up.
> 
> Basically you need to add a character encoding filter that does a
> request.setCharacterEncoding("UTF-8"); before anyone reads the request.
> 
> See this thread:
> 
> http://www.nabble.com/Handle-Japanese-characters-from-jsp-page-into-ActionClass-td24686908.html
> 

-- 
View this message in context: http://www.nabble.com/Accented-characters-replaced-during-parameter-input-tp24721592p24722035.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message