首页 > 其他 > 详细

zsh解决perl: warning: Setting locale failed.

时间:2015-12-08 21:47:40      阅读:230      评论:0      收藏:0      [点我收藏+]

错误如下:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

在.zshrc中加入

export LANGUAGE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_TYPE=en_US.UTF-8

即可

参考

http://stackoverflow.com/questions/2499794/how-can-i-fix-a-locale-warning-from-perl

zsh解决perl: warning: Setting locale failed.

原文:http://www.cnblogs.com/cmyk/p/5030811.html

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