码迷,mamicode.com
首页 > 其他好文 > 详细

zsh解决perl: warning: Setting locale failed.

时间:2015-12-08 21:47:49      阅读:1043      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!