解決svn "cannot set LC_CTYPE locale"的問(wèn)題
在ubuntu 8.10下安裝的svn,在將Ubuntu的語(yǔ)言修改為英文之后,出現(xiàn)錯(cuò)誤警告:$ svn
svn: warning: cannot set LC_CTYPE locale
svn: warning: environment variable LANG is en_US.UTF-8
svn: warning: please check that your locale name is correct
Type 'svn help' for usage.
svn: warning: cannot set LC_CTYPE locale
svn: warning: environment variable LANG is en_US.UTF-8
svn: warning: please check that your locale name is correct
Type 'svn help' for usage.
解決方法很簡(jiǎn)單,修改/etc/profile:
sudo vi /etc/profile
加入一行:
export LC_ALL=C
source /etc/profile
加入一行:
export LC_ALL=C
source /etc/profile
svn就可以正常工作了。
posted on 2009-05-29 11:48 sky ao 閱讀(13849) 評(píng)論(0) 編輯 收藏 所屬分類(lèi): Version Control