Update query.py

UTF 8 Decode