-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mark and Joe,
Mark Thomas wrote: > Joseph Shraibman wrote: >> Mark Thomas wrote: >> >>> request.setCharacterEncoding("UTF-8"); >> >> Is this always safe? For responses I can (and do) check the >> accept-charset request [header], but I can't figure out how to tell >> what the request encoding should be. Don't forget that Accept-Charset has nothing to do with the request: it's all about the list of charsets that are acceptable for the /response/ to the current request. Setting the encoding of the response is sometimes necessary when the browser (stupidly, IMO) elects not to send the charset being used to the server. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGxab+9CaO5/Lv0PARAhAbAJ0XIzeqDmgiKPqMhQLNSdkJJpgomACfTnZa ZK1KZN1hgbzoPmUdFWnI29o= =4CGT -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]