Use response encoding when creating the printwriter or you will run into character encoding issues when using a non standard (eg. utf-8) response encoding when the teefilter is configured