Resolve Svn:can ' t convert string from ' utf-8′to native encoding

Source: Internet
Author: User
Tags svn

Today, when colleagues updated SVN code on a new server, the following error occurred:
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

Then the code is not downloaded, find the docroot/new_interview/images/folder under a look, a lot of pictures are named with Chinese characters, no wonder can't update.

The solution is as follows:
echo ' Export lc_ctype= ' ZH_CN. UTF-8 "' >>/etc/profile
Source/etc/profile

So SVN in the checkout, it will not report the wrong.

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.