‘gbk‘ codec can‘t encode character ‘\U0001f637‘ in position 49044: illegal m 报错
'gbk' codec can't encode character '\U0001f637' in position 49044: illegal m
这个报错是 编码的问题 它默认的是 gbk编码
用encoding = 'utf-8 或者用 ‘wb’ 吧转成utf8编码
和下图类似
原创
2020-11-23 16:27:30 ·
167 阅读 ·
0 评论