Another question: Even when response's content type is not text (like
pdf/odt/doc or image streams), should i set the response charset ? Does
"application/pdf; charset=UTF-8" make sense ?


On Wed, 2009-07-08 at 19:23 -0300, Daniel Henrique Alves Lima wrote:
>       Hi, Chris. The only missing item in my checklist ("What can you
> recommend to just make everything work?") is the first one (Set
> URIEncoding="UTF-8" on your <Connector> in server.xml). 
>       I didn't know that "Most web browsers today do not specify the
> character set of a request". Well, better later than never.
> 
>       Thanks !
> 
> 
> On Wed, 2009-07-08 at 17:41 -0400, Christopher Schultz wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > Daniel,
> > 
> > On 7/8/2009 9:41 AM, Daniel Henrique Alves Lima wrote:
> > >   Today i've found a bug on our application: Except for a multipart/form,
> > > all non-English characters (like á and ç) sent in HttpServletRequest was
> > > messed up. 
> > 
> > Sorry for the terse reply, but this page has lots of good information:
> > 
> > http://wiki.apache.org/tomcat/FAQ/CharacterEncoding
> > 
> > - -chris
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.9 (MingW32)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> > 
> > iEYEARECAAYFAkpVEpsACgkQ9CaO5/Lv0PDkrQCdH8jEeEnS/DhtBD63uGYPdZVG
> > 2GsAnixe13l8V7KIg4kxCMUTnRXtW6zC
> > =b9R6
> > -----END PGP SIGNATURE-----
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> > 
-- 
"If there must be trouble, let it be in my day, 
 that my child may have peace."

Thomas Paine


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to