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

perl: warning: Setting locale failed.

时间:2015-10-14 18:07:39      阅读:162      评论:0      收藏:0      [点我收藏+]

标签:

本篇文章由:http://xinpure.com/perl-warning-setting-locale-failed/

将 mac 系统切换成英文后,使用 git 命令出现如下错误:

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LC_CTYPE = "UTF-8",

LANG = "en_US.UTF-8"

    are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

解决方法

~/.bash_profile 最后一行添加

export LC_ALL=C

perl: warning: Setting locale failed.

标签:

原文地址:http://www.cnblogs.com/xinpureZhu/p/4877964.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!