<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://www.jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://www.jackxiang.com/post//</link>
<title><![CDATA[svn:Can’t convert string from ‘UTF-8′ to native encoding]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Thu, 11 Mar 2010 12:31:54 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	之前遇到一个问题，svn里面如果提交了中文文件名的文件或者包含其他特殊字符的文件名的文件，会导致linux或者freebsd上svn update/checkout的时候出现错误“svn: Can’t convert string from ‘UTF-8′ to native encoding”<br/><br/>这个问题是由系统字符集设置导致的，可以使用如下方法解决：<br/>在bash的shell下，输入如下命令：<br/><br/><br/><div class="code">#export LC_CTYPE=en_US.UTF-8然</div>后运行如下命令确认发生的变化如下：<br/><br/>#locale将得到如下的结果返回：<br/><br/><div class="code"><br/>LANG=<br/>LC_COLLATE=&quot;C&quot;<br/>LC_CTYPE=&quot;en_US.UTF-8&quot;<br/>LC_MESSAGES=&quot;C&quot;<br/>LC_MONETARY=&quot;C&quot;<br/>LC_NUMERIC=&quot;C&quot;<br/>LC_TIME=&quot;C&quot;</div><br/>LC_ALL=可以把以上内容直接加到svn的钩子里面，解决提交时自动输出处理遇到的问题。<br/><br/><br/>转自老乡李俊麟的博客：<br/>http://www.toplee.com/blog/566.html<br/><br/><br/>实践中发现，只修改一个还不成，要修改多个vi /etc/profile root是这样，但是nobody的环境还是C的，处处修改呢？？思考Ing：<br/>export LANG=&quot;zh_CN.UTF-8&quot;<br/>export LC_CTYPE=&quot;zh_CN.UTF-8&quot;<br/>export LC_NUMERIC=&quot;zh_CN.UTF-8&quot;<br/>export LC_TIME=&quot;zh_CN.UTF-8&quot;<br/>export LC_COLLATE=&quot;zh_CN.UTF-8&quot;<br/>export LC_MONETARY=&quot;zh_CN.UTF-8&quot;<br/>export LC_MESSAGES=&quot;zh_CN.UTF-8&quot;<br/>export LC_PAPER=&quot;zh_CN.UTF-8&quot;<br/>export LC_NAME=&quot;zh_CN.UTF-8&quot;<br/>export LC_ADDRESS=&quot;zh_CN.UTF-8&quot;<br/>export LC_TELEPHONE=&quot;zh_CN.UTF-8&quot;<br/>export LC_MEASUREMENT=&quot;zh_CN.UTF-8&quot;<br/>export LC_IDENTIFICATION=&quot;zh_CN.UTF-8&quot;<br/>export LC_ALL=&quot;zh_CN.UTF-8&quot;<br/><br/>PHP时：这个函数有用，其实就一个就行了，上面其它的没有用的估计，如下：<br/><br/>setlocale(LC_ALL,&#039;zh_CN.UTF-8&#039;);
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] svn:Can’t convert string from ‘UTF-8′ to native encoding]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>