UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xe5 in position 0: ordinal not in range(128) 再将一段包含汉子的字符串写入csv文件的时候出现这个错误. 'your str'.encode('utf-8)