Fixed ascci unicode error for query_all
Fixed ascci unicode error for query_all