Linux 提示Failed to set locale, de
2018-10-03 本文已影响0人
一杉风雨
问题
Linux上执行命令时,报出Failed to set locale, defaulting to C
错误,是由于没有设置正确的语言环境。
解决方案
echo "export LC_ALL=en_US.UTF-8" >> /etc/profile
source /etc/profile
Linux上执行命令时,报出Failed to set locale, defaulting to C
错误,是由于没有设置正确的语言环境。
echo "export LC_ALL=en_US.UTF-8" >> /etc/profile
source /etc/profile