报错perlwarningFallingbacktothestandardlocale("C").

编程

perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:

 

修正:

#sudo vim /root/.bashrc

在尾部加入以下三条定义:

export LANGUAGE="en_US.UTF-8"

export LANG=en_US:zh_CN.UTF-8

export LC_ALL=C

 

#最后使环境即时生效

#source /root/.bashrc

添加后,即可去掉那些提示或警告了!

以上是 报错perlwarningFallingbacktothestandardlocale("C"). 的全部内容, 来源链接: utcz.com/z/515202.html

回到顶部