原文:'gbk' codec can't decode byte 0xa6 in position 4: illegal multibyte sequence 錯誤

在打開文件時出現 gbk codec can t decode byte xa in position : illegal multibyte sequence 報錯,解決如下: open path, rb ,即在讀取文本的時候加入參數 b 。 ...

2020-03-17 11:16 0 2343 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2026 CODEPRJ.COM