aiohttp遇到非法字符的處理(UnicodeDecodeError: 'utf-8' codec can't decode bytes in position......)

這個問題困擾了我將近一天時間,若是使用text()函數會一直報「UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 24461-24462: invalid continuation byte」的錯誤,若是使用read()函數以二進制輸出在後面解析的時候中文是亂碼,網上查了不少資料,主要也是本身的疏忽本身看了源碼,一直糾
相關文章
相關標籤/搜索