SyntaxFix
Write A Post
Hire A Developer
Questions
Try setting the system default encoding as utf-8 at the start of the script, so that all strings are encoded using that.
utf-8
# coding: utf-8 import sys reload(sys) sys.setdefaultencoding('utf-8')