Update main.py

changed decoding to utf-8