首页 > 其他 > 详细

-bash: warning: setlocale: LC_ALL: cannot change locale 问题

时间:2020-06-15 12:35:05      阅读:62      评论:0      收藏:0      [点我收藏+]

对于这种无法正常处理数据集的问题,通常都是字符集设置问题:

首先使用命令

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!