alter default encoding to utf8 to support non-latin characters in query string