解决svn: Can’t convert string from ‘UTF-8′ to native encoding

简介:

Can't convert string from native encoding to 'UTF-8':
svn: 5?\228?\189?\141?\227?\128?\128950?\231?\130?\185?\227?\128?\128?\229?\138?\160?\232?\151?\164?\227?\128?\128?\230?\133?\142?\228?\186?\140.jpg
svn: Can't convert string from 'UTF-8' to native encoding:
svn: docroot/new_interview/images/?\230?\151?\165?\230?\156?\172?\229?\183?\165?\229?\173?\166?\233?\153?\162?\227?\128?\128?\230?\173?\163?\231?\148?\176.jpg


然后代码也没有下载下来,找到docroot/new_interview/images/文件夹下面一看,好多图片的命名都带有汉字,难怪无法更新.

解决办法如下:
echo 'export LC_CTYPE="zh_CN.UTF-8"'>>/etc/profile
source /etc/profile

这样svn在checkout的时候,就不会再报错误了.










本文转自 xinsir999 51CTO博客,原文链接:http://blog.51cto.com/xinsir/1670624,如需转载请自行联系原作者
目录
相关文章
|
Java
Can't convert boolean to string automatically, because the "boolean_format" setting was "true,false"
版权声明:本文为 testcs_dn(微wx笑) 原创文章,非商用自由转载-保持署名-注明出处,谢谢。 https://blog.csdn.net/testcs_dn/article/details/71683167 ...
2845 0
|
SQL 数据库
【YashanDB 知识库】导入数据时报错:YAS-00008 type convert error:literal does not match format string
【YashanDB 知识库】导入数据时报错:YAS-00008 type convert error:literal does not match format string
|
SQL 数据库
【YashanDB知识库】导入数据时报错:YAS-00008 type convert error:literal does not match format string
【YashanDB知识库】导入数据时报错:YAS-00008 type convert error:literal does not match format string
SpingBoot2.x文件上传:failed to convert java.lang.String to org.springframework.util.unit.DataSize
SpingBoot2.x文件上传:failed to convert java.lang.String to org.springframework.util.unit.DataSize
|
安全
MD5 Encryption Of String ( UTF-8 ) / UE4 DTMd5 Plugin description
MD5 Encryption Of String ( UTF-8 ) / UE4 DTMd5 Plugin description
446 1
|
XML 数据格式
解决 Cannot convert value of type ‘java.lang.String‘ to required type ‘java.sql.Driver‘ for property ‘
解决 Cannot convert value of type ‘java.lang.String‘ to required type ‘java.sql.Driver‘ for property ‘
873 0
|
算法 网络安全 数据库
MD5 Encryption Of String ( UTF-8 ) / UE4 MD5 加密
MD5 Encryption Of String ( UTF-8 ) / UE4 MD5 加密
650 0
|
Java 数据库连接
Failed to convert value of type 'java.lang.String' to required type 'java.time.LocalDate';
Failed to convert value of type 'java.lang.String' to required type 'java.time.LocalDate';
1160 0
|
Java 编译器
深度剖析‘StringBuilder‘ can be replaced with ‘String‘ 提示
深度剖析‘StringBuilder‘ can be replaced with ‘String‘ 提示
1453 0
深度剖析‘StringBuilder‘ can be replaced with ‘String‘ 提示