在Python中解码UTF-8字符串

21 浏览
0 Comments

在Python中解码UTF-8字符串

我正在用Python编写一个网络爬虫,它涉及从网站获取头条新闻。

其中一个标题本应为:And the Hip's coming, too

但是实际上显示为:And the Hipâ€s coming, too

这里出了什么问题?

0