Linux下svn更新含有中文名称的库无法更新问题

Linux下更新含有中文名称的库文件时,出现如下提示:

SVN Error: Can't convert string from native encoding to 'UTF-8'


通过google,发现有两种解决方法:

export LC_CTYPE="zh_CN.GB2312"

或者

export LANG="zh_CN.UTF-8"


但是都不行,并报错如下:

warning: setlocale: LC_CTYPE: cannot change locale (zh_CN.GB2312): No such file or directory


继续Google,通过locale -a命令显示结果如下:




通过

export LANG="C.UTF-8"

或者

export LC_CTYPE="C.UTF-8"

或者

export LC_CTYPE=“en_CA.utf8”

该问题解决


如果还是存在问题,则看如下配置,注意LANG和LANGUAGE:


猜你喜欢

转载自www.cnblogs.com/xingyunfashi/p/11388981.html