在freeBSD环境下,svn的checkout操作出现 Can't convert string from 'UTF-8' to native encoding

在项目中文件命名使用中文很正常,但是在freeBSD环境下需要checkout代码时候,就会出现“Can't convert string from 'UTF-8' to native encoding”。具体解决方法是:

setenv  LANG    zh_CN.UTF-8
setenv  LC_CTYPE        zh_CN.UTF-8

这样就解决了。

你可能感兴趣的:(String,SVN,FreeBSD,encoding)