Enforce correct character encoding in XQuery Servlet

Users reported char encoding issues in some environments.