Use util.xmlCharset to determinate the request encoding