UnicodeDecodeError: 'gbk' codec can't decode byte 0xa4 in position 14: illegal multibyte sequence
时间: 2023-10-18 12:00:03 浏览: 155
Python运行报错UnicodeDecodeError的解决方法
这个错误是由于在使用GBK编码方式解码时,遇到了非法的多字节序列,导致无法解码。具体来说,字节序列中的第14个字节0xa4是非法的多字节序列,因此无法被正确解码。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [关于UnicodeDecodeError: 'gbk' codec can't decode byte的解决办法](https://blog.csdn.net/qq_29592829/article/details/71598664)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [UnicodeDecodeError: ‘gbk‘ codec can‘t decode bytein position 2: illegal multibyte sequence](https://blog.csdn.net/sinat_26811377/article/details/107629934)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文