UTF-8 string Query fixes