-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 i liked this article regarding encoding: http://java.sun.com/developer/technicalArticles/Intl/HTTPCharset/index.html
i think, it sais all one have to know... (at least in the context of web apps) uzi [EMAIL PROTECTED] wrote: > Georg Sauer-Limbach wrote: >>> I do not think it is very obvious, that the response class is writing >>> the characters using the platform's default encoding in this case >> Yes. And this is true for many, many places in the >> Java library. Always watch out if you see some >> String being processed using a Stream. > Yes, in general I take care of that, but in this case: > The response (who knows what encoding I want) gives me a special stream > where I find a method println( String s ). Why on earth should they > guess a character encoding for character output then. > Nevertheless: they said what they did in the apidoc, so it must be okay. > Strange enough, that it worked correctly in older Tomcat versions. > >> The ServletOutputStream shouldn't have all these >> print methods, at least not the one for String. > The word deprecated comes to my mind :-) > > Cheers and thanks again, > Heinz > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGUqwLWksoyMRHEmMRAnssAJ9oY3odBMJW1A3W9kDQCvPTRwSgYQCeJqXP GMCSqrewZymi3fcqiisYBDo= =/bII -----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]