1、連接配接資料庫是采用 utf-8
charset="utf8"
2、内容采用手動編碼方式
text.encode('latin-1', errors='ignore').decode('gbk', errors='ignore')
1、連接配接資料庫是采用 utf-8
charset="utf8"
2、内容采用手動編碼方式
text.encode('latin-1', errors='ignore').decode('gbk', errors='ignore')