python爬蟲獲得unicode編碼處理方式

在用python作爬蟲的時候常常會與到結果中包含unicode編碼,須要將結果轉化爲中文,處理方式以下python

str.encode('utf-8').decode('unicode_escape')
相關文章
相關標籤/搜索