這是因為Python 3.x 中, python 直譯器預期的.py 編碼,預設是UTF-8,而在Ubuntu ... coding=UTF-8 text = u'測試' print type(text) # 顯示"<type 'unicode'>" print ...
確定! 回上一頁