1👍
✅
Include the following at the beginning of the file –
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
This would set default encoding to Unicode.
Source:stackexchange.com