SVN: Can't convert string from 'utf-8' to native encoding solution

Source: Internet
Author: User

Http://www.leakon.com/archives/610 

Files in the SVN version library are named after Chinese characters. in Linux, the following error occurs in checkout:

SVN: Can't convert string from 'utf-8' to native Encoding

Then checkoutProgramQuit!

The solution is simple. Set the locale of the current system correctly:

ExportLc_ctype=Zh_CN.UTF-8"

Then, run the checkout command again.

Note that setting variables based on your system character set may change to gb2312 if the zh_CN.UTF-8 is not working:

Export lc_ctype = "zh_cn.gb2312"

In addition, when reading other people's posts, some variables use different names:

Export lang =Zh_CN.UTF-8"

 

Http://www.toplee.com/blog/566.html 

 

Http://svnbook.red-bean.com/en/1.2/svn.advanced.l10n.html

 

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.