Add charset to the XmlResponse if there is a default encoding