Home > OS >  Turn to Python UnicodeDecodeError error
Turn to Python UnicodeDecodeError error

Time:10-02

Is that I am using Python2.7 environment, at the beginning there are
# - * - coding utf8 - * -
However, did have a coding problem, I ask, this is exactly what is going wrong?
Traceback (the most recent call last) :
The File "D:/Python project/qinggan/1. Py", line 90, in & lt; module>
Fl. Write (writein. Encode (' utf-8))
UnicodeDecodeError: 'utf8' codec can 't decode byte 0 xe8 in position 0: invalid continuation byte
  • Related