struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Struts and arabic encoding
Date Mon, 13 Aug 2007 19:18:05 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ahmed,

Ahmed Atif wrote:
> i'm using the post method but i will try to use GET if this will solve the
> problem

No, POST is much better, since the parameters will always be encoded
using the request body's encoding, which at least has an HTTP header
(Content-Type) associated with it. The HTTP request URI itself has no
good way to communicate character set information.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGwK5t9CaO5/Lv0PARAmD7AJ9EJcurIx0Olf4TI51Pfs8ohR822wCfSsiG
3hG/JkIpTWOUlneUPDMoYkw=
=IeRn
-----END PGP SIGNATURE-----

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


Mime
View raw message