作者:
yshihyu (yshihyu)
2016-03-17 02:17:25# coding=Big5
text = '測試'
print text
上面這樣沒問題
改成一個中文字就不行為什麼會那詭異?
# coding=Big5
text = '試'
print text
File "test.py", line 2
SyntaxError: 'big5' codec can't decode bytes in position 10-11: illegal
multibyte sequence
想請問一下python 編碼問題有什麼好點資料可以參考?
謝謝