Python3解決UnicodeEncodeError: 'ascii' codec can't encode characters in position 0

chenenkou發表於2019-12-23

Python3程式執行中出現UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-6: ordinal not in range(128)

一行程式碼解決

export PYTHONIOENCODING=utf-8
複製程式碼

相關文章