<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[Snooda]]></title> 
<link>http://www.snooda.com/index</link> 
<description><![CDATA[Snooda's Blog]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[Snooda]]></copyright>
<item>
<link>http://www.snooda.com/read/</link>
<title><![CDATA[ubuntu使用git时：perl: warning: Setting locale failed.错误]]></title> 
<author>snooda &lt;admin@snooda.com&gt;</author>
<category><![CDATA[linux操作系统]]></category>
<pubDate>Fri, 04 May 2012 08:20:12 +0000</pubDate> 
<guid>http://www.snooda.com/read/</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;最近几个开发环境都换成ubuntu了，但随之遇到一个问题，就是用git时perl老是报错，经常报错报的把正常信息都掩盖住了，报：<br/><br/>perl: warning: Setting locale failed.<br/>perl: warning: Please check that your locale settings:<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LANGUAGE = (unset),<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LC_ALL = (unset),<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LANG = "zh_CN.UTF-8"<br/>&nbsp;&nbsp;&nbsp;&nbsp;are supported and installed on your system.<br/>perl: warning: Falling back to the standard locale ("C").<br/><br/><br/>网上搜了一堆东东，都不是太有效，还是运行靠谱：<br/><br/>export LC_CTYPE=en_US.UTF-8<br/>export LC_ALL=en_US.UTF-8<br/><br/>如果每次启动都自动执行的话就加到bashrc或bash_profile里。<br/><br/>有可能需要重新安装配置相应语言包：<br/>sudo apt-get install --reinstall locales<br/>sudo apt-get install language-pack-en-base<br/><br/><br/><br/><br/>Tags - <a href="http://www.snooda.com/tags/ubuntu/" rel="tag">ubuntu</a> , <a href="http://www.snooda.com/tags/git/" rel="tag">git</a> , <a href="http://www.snooda.com/tags/perl/" rel="tag">perl</a>
]]>
</description>
</item><item>
<link>http://www.snooda.com/read/#blogcomment</link>
<title><![CDATA[[评论] ubuntu使用git时：perl: warning: Setting locale failed.错误]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.snooda.com/read/#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>