Thank you for the answer. I know about this possibility using filters (and I have done something).
But the original question (and my question) is about simpler way: Is it possible to globally set (somewhere in JVM or Tomcat configuration) default character encoding for all created Writers? Lipi > -----Original Message----- > From: Yansheng Lin [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 26, 2004 7:45 PM > To: 'Tomcat Users List' > Subject: RE: Can I change Tomcat's default character encoding? > > Hi, quick response, you can use your own customized OutputStreamWriter. > You > need to extend the abstract class ServletOutputStream. And you integrate > your customized writer with tomcat by implementing a filter. > > For more info on how to use filters, you can do a search on google. > > This will only work for Tomcat 4 and up, or any other container that > implement Servlet 2.3 and up. > > -Yan > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
