struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <>
Subject Re: geText from Action encodes html entities
Date Mon, 01 Sep 2008 13:34:43 GMT
Wouldn't a property file normally contain an escaped unicode value for "ó"? That aside--is
getText() itself doing the escaping, or is it being escaped on the JSP side through a property
tag? (I don't remember if getText escapes; I didn't think that it did.)

(I'm also not sure about encoding a property file as UTF-8; IIRC they're assuming to contain
ISO 8859-1 data.)


--- On Mon, 9/1/08, Esteve Camps Chust <> wrote:
> I'm having a problem when using getText action method.
> This method gets a
> text from 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 files is UTF-8 enconded. May you help
> me with a
> solution?
> Thanks all in advance.
> Esteve

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message