if it is not set already by the client. Before this change the filter used to override the character encoding, even if it was specified in the http request. Also removed some unused imports and comments. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1760528 13f79535-47bb-0310-9956-ffa450edef68