在linux中,svn co 或 svn up 时有中文文件名的文件的话,可能会报下面的错:
[root@linkea-dev-srv1 ~]# svn up
svn: Can't convert string from 'UTF-8' to native encoding:
svn: src/main/webapp/resources/js/My97DatePicker/?\229?\188?\128?\229?\143?\145?\229?\140?\133
[root@linkea-dev-srv1 ~]# locale
LANG=en_US.UTF-8
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
. ~/.bashrc
ok了!来源: http://sunjun041640.blog.163.com/blog/static/256268322013102285954951/