对于这种无法正常处理数据集的问题,通常都是字符集设置问题:
首先使用命令
loacle -a
查看自己的安装的字符集
然后,选择其中的可以使用的utf-8字符集设置一下就好了,推荐utf-8,这里的例子中使用的是zh_CN.uft-8字符集
echo "export LC_ALL=zh_CN.utf-8" >> /etc/profile source /etc/profile
现在应该就没有字符问题了
-bash: warning: setlocale: LC_ALL: cannot change locale 问题
原文:https://www.cnblogs.com/FengLueBlogs/p/13129558.html