struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Harland <harlander3...@yahoo.com>
Subject Re: geText from Action encodes html entities
Date Mon, 01 Sep 2008 13:42:33 GMT
Use native2ascii to encode your package.properties file.


--- On Mon, 9/1/08, Esteve Camps Chust <ecamps@gmail.com> wrote:

> From: Esteve Camps Chust <ecamps@gmail.com>
> Subject: geText from Action encodes html entities
> To: user@struts.apache.org
> Date: Monday, September 1, 2008, 3:24 PM
> Hi all,
> 
> I'm having a problem when using getText action method.
> This method gets a
> text from package.properties file. Its value is an spanish
> text, containing
> some encoded chars (for instance, estaci&oacute;n, for
> 'estaciĆ³n'). When
> displaying this I get 'estaci&amp;on.
> 
> My package.properties files is UTF-8 enconded. May you help
> me with a
> solution?
> 
> Thanks all in advance.
> 
> Esteve


      

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


Mime
View raw message