PythonUnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 937: ordinal not in range(128) Logged from file ,
u = unicode("spicy", "utf-8")
unicode(u'foo', 'utf-8')
The above transcoding method may report an error. If it is reported, please use this and add it after the string.encode("utf-8")
result = (param).encode("utf-8")