搞定SVN的Non-ASCII character错误

  FreeBSD上的目录或者文件的名字如果存在中文,就将在默认设置下导致svn出错,解决方法两种:

  1、把中文目录或者文件都改成英文的。
  2、设置BSD环境的Locale,可以是全局的设置,也可以是当前用户运行时的环境locale,通过export命令设置locale为en_GB.UTF-8或者其他跟你实际环境一致的值,可以通过locale -a得到全部的列表。

  小问题把我折腾够呛。。。

Category: 其他技术
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

Your email address will not be published. Required fields are marked *

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image