-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thomas,
On 9/29/2010 7:05 AM, Thomas Markus wrote: > hi, > > that arabic character should fail with latin1. > > we see a difference between jetty and tomcat (6.0). tomcat follows specs > (see Andre's mail) and uses iso per default. you can switch completely > to UTF-8 with: > - send html content in utf-8 > - set container-encoding to utf-8 > - set form-encoding to utf-8 > - set URIEncoding to utf-8 > - and include a class like SetCharacterEncodingFilter to set request > character encoding Note that this item sets the character encoding for reading request /bodies/ and not GET parameters from the URL. It also only sets the request character encoding if the client has not set it. All these issues are covered in this Tomcat document, though the content is generally applicable to all containers: http://wiki.apache.org/tomcat/FAQ/CharacterEncoding#Q8 - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyjUBgACgkQ9CaO5/Lv0PCSUwCfan2R1diQzmoMj6s6Aohgyvw8 Lx0AnA7jrQeEoQjbum7rEzEhHI/iuvEm =23lE -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
