为了账号安全,请及时绑定邮箱和手机立即绑定

print(response.text)编码错误

UnicodeEncodeError: 'gbk' codec can't encode character '\xee' in position 22325: illegal multibyte sequence

不知道是哪个位置的编码,我尝试过print(response.text.decode('utf-8'))和print(response.text.encode('utf8').decode('utf-8'))都不行

windows 10

pycharm

正在回答

2 回答

已解决

0 回复 有任何疑惑可以回复我~
#1

慕粉7316753

怎么解决的,能教下吗
2019-05-15 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

print(response.text)编码错误

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信