Open HappyImp opened 6 years ago
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa2 in position 4: illegal multibyte sequence
linux下跑
试试cygwin或者去Linux吧
Linux下同樣有utf-8 codec的問題,在open()里添加參數encoding="latin-1"即可。
open()
encoding="latin-1"
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa2 in position 4: illegal multibyte sequence