the properties file will contain the properly encoded stringsassuming your xml
configuration files have UTF-8 set for characterEncoding?<?xml version="1.0"
encoding="UTF-8" ?>you can setCharacterEncoding by sending it thru a filter
(before the Action classes are called)
http://ianpurton.com/struts-utf-8-and-form-submissions/
?Martin ______________________________________________ Disclaimer and
confidentiality note Everything in this e-mail and any attachments relates to
the official business of Sender. This transmission is of a confidential nature
and Sender does not endorse distribution to any party other than intended
recipient. Sender does not necessarily endorse content contained within this
transmission. > Date: Mon, 1 Sep 2008 06:34:43 -0700> From: [EMAIL PROTECTED]>
Subject: Re: geText from Action encodes html entities> To:
user@struts.apache.org> > 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.)> > Dave> > --- On Mon, 9/1/08, Esteve Camps Chust <[EMAIL PROTECTED]>
wrote:> > 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ón, for> >
'estación'). When> > displaying this I get 'estaci&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: [EMAIL PROTECTED]> For additional commands, e-mail: [EMAIL
PROTECTED]>
_________________________________________________________________
Talk to your Yahoo! Friends via Windows Live Messenger. Find out how.
http://www.windowslive.com/explore/messenger?ocid=TXT_TAGLM_WL_messenger_yahoo_082008