在程式碼開頭的地方,如果你用的是其它編碼來儲存Python的模組,就將utf8改成其它的 ... coding: utf8 -*- msg = u'今天天氣真好' encoded = msg.encode('utf8') print ...
確定! 回上一頁