Added support for character set conversion of query terms. The XML