UnicodeDecodeError: 'gbk' codec can't decode byte 0xa1 in position 1150: illegal multibyte sequence
时间: 2023-08-13 11:05:51 浏览: 93
invalid multibyte character sequence 870告警1
引用 这个问题通常出现在读取包含非'gbk'编码字符的文件时,解决办法可以是将文件内容进行编码转换,将其转换为合适的编码方式,比如'utf-8'。<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* [UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0xa7 in position 265: illegal multibyte ...](https://blog.csdn.net/qq_44368508/article/details/126831706)[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^v92^chatsearchT0_1"}} ] [.reference_item]
- *2* [UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0xa1 in position 98: illegal multibyte seq](https://blog.csdn.net/weixin_42160053/article/details/125043386)[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^v92^chatsearchT0_1"}} ] [.reference_item]
- *3* [UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0xa1 in position 48: illegal multibyte](https://blog.csdn.net/weixin_43529465/article/details/124720683)[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^v92^chatsearchT0_1"}} ] [.reference_item]
[ .reference_list ]
阅读全文