linux 安装中文字符集,解决报错问题UnicodeEncodeError
问题描述
linux 无法输入和显示中文
运行python3打印中文时,报错UnicodeEncodeError,如下
UnicodeEncodeError: 'ascii' codec can't encode characters in position 48-49: ordinal not in range(128)
问题定位
1.在linux终端,打印中文
echo 中文
2.在pyth...
原创
2019-11-15 19:15:52 ·
646 阅读 ·
0 评论