Two Servlet Filters Every Web Application Should Have
Subject:   Unexpected chars
Date:   2004-02-13 09:16:44
From:   sjxs
Response to: Unexpected chars


My fault... I got the writer before setting the character encoding to utf-8... so the xml was being output in ISO8859-1 in response to the request and I was saying that it was encoded in UTF-8 when it wasn't. Setting the content-type before retrieving the writer is a darn good idea.... :)