您的位置:首页 > 其它

ubuntu svn: Can't convert string from 'UTF-8' to native encoding

2014-04-11 10:51 495 查看
svn: Can't convert string from 'UTF-8' to native encoding:
出现这个错误的解决办法修改/etc/rc.local 添加
export LC_ALL=zh_CN.UTF-8

export LANG=zh_CN.UTF-8

#exit 0即可
vi /etc/rc.local

#!/bin/sh -e

#

# rc.local

#

# This script is executed at the end of each multiuser runlevel.

# Make sure that the script will "exit 0" on success or any other

# value on error.

#

# In order to enable or disable this script just change the execution

# bits.

#

# By default this script does nothing.

export LC_ALL=zh_CN.UTF-8

export LANG=zh_CN.UTF-8

#exit 0

要把最后一句exit 0去掉,然后source /etc/rc.local

在执行svn up就ok了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐