If
If you are using Tomcat as a server then you will need to add
URIEncoding="UTF-8" attribute to the Connector in the server.xml file, If
not specified, ISO-8859-1 will be used [1].

This URIEncoding attribute applies only to GET requests (not POST).

[1] http://tomcat.apache.org/tomcat-5.5-doc/config/http.html


On Tue, Sep 15, 2009 at 11:41 AM, Tommy Pham <tommy...@yahoo.com> wrote:

> ----- Original Message ----
> > From: Francisco Barroso (Fortes Informática) <
> franciscobarr...@grupofortes.com.br>
> > To: user@struts.apache.org
> > Sent: Tuesday, September 15, 2009 8:29:56 AM
> > Subject: problem with encoding of parameters, type="redirect"
> >
> > I just migrated my application from ISO8859-1 to UTF-8.
> > I have a problem with encoding of parameters. There is an error passing a
> > parameter from xwork to an action using redirect:
> > ...
> >
> > type="redirect">& lt;/result>
> > ...
> >
> > If the parameter name has an special character (such as José), in the
> action it
> > comes with invalid characters (Jos?).
> >
> > Any idea?
> >
> > -- Francisco Barroso
> > Desenvolvedor
> > Fortes Informática (Fortaleza)
> > Fone: (85) 4005.1111 - Cel: (85) 8843.8309
> > franciscobarr...@grupofortes.com.br
> > www.fortesinformatica.com.br
> >
>
> Did you change/set the struts.i8n.encoding in struts.xml/properties?  I
> don't remember off the top of my head what the default is.
>
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > For additional commands, e-mail: user-h...@struts.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

Reply via email to