Generate escape sequences for characters in the query
Merge pull request #42 from jartek/fix-encoding-for-query

Generate escape sequences for special characters in the query