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 Sun, 12 Aug 2007 17:59:01 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ahmed,

Ahmed Atif wrote:
> the data read from the text field still garbled i'm saving it to the
> DB instantly at a UTF-8 encoding type column but the problem remains 
> does any one know where the prblem might be.

Is this with a GET or POST request?

If you are using GET, remember that the URI encoding might be
interfering. If you are using UTF-8 as your page encoding, you'll
probably want to use UTF-8 as your URI encoding.

The settings for this should be in your application server. (For
instance, if you use Jakarta Tomcat, you can set the "URIEncoding"
attribute on your <Connector> element in server.xml.)

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

iD8DBQFGv0pk9CaO5/Lv0PARAuPRAJ0V1ZKp93b9zmfoHFfT/oaTpGch4QCdEt5/
8LIGaeXWlytx4HPnBjqGITI=
=H7/E
-----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