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

之前遇到一个问题,svn里面如果提交了中文文件名的文件或者包含其他特殊字符的文件名的文件,会导致linux或者freebsd上svn update/checkout的时候出现错误“svn: Can’t convert string from ‘UTF-8’ to native encoding”

这个问题是由系统字符集设置导致的,可以使用如下方法解决:
在bash的shell下,输入如下命令:

#export LC_CTYPE=en_US.UTF-8

然后运行如下命令确认发生的变化如下:

#locale

将得到如下的结果返回:

LANG=
LC_COLLATE="C"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_ALL=

可以把以上内容直接加到svn的钩子里面,解决提交时自动输出处理遇到的问题。

Category: Linux / BSD, 其他技术  Tags:
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.
3 Responses
  1. luguo says:

    记下了,今后用到svn的时候或许有用.

  2. ds cartes says:

    GOOD

  3. minecraft says:

    Hmm is anyone else encountering problems with the images on this blog loading?

    I’m trying to determine if its a problem on my end or if it’s the blog.

    Any responses would be greatly appreciated.

  4. minecraft says:

    I have to thank you for the efforts you have put
    in penning this blog. I am hoping to see the same high-grade blog posts from you later
    on as well. In fact, your creative writing abilities
    has inspired me to get my own, personal website now 😉

  5. minecraft says:

    What a information of un-ambiguity and preserveness of valuable knowledge about
    unexpected emotions.

  6. Hello would you mind stating which blog platform you’re
    working with? I’m planning to start my own blog soon but I’m having a difficult time making a decision between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design and style seems different then most blogs and I’m looking for something unique.
    P.S Apologies for being off-topic but I had to ask!

  7. Keep on writing, great job!

  8. Hey There. I found your blog using msn. This is an extremely well
    written article. I will be sure to bookmark it and return to
    read more of your useful information. Thanks for the post.

    I’ll certainly comeback.

  9. I do not even know how I ended up here, but I
    thought this post was good. I don’t know who you are but certainly you
    are going to a famous blogger if you are not already
    😉 Cheers!

  10. Every weekend i used to go to see this web page, as i want enjoyment,
    since this this web page conations actually fastidious funny stuff too.

  11. Pingback: svn:Can
  12. Hi, always i used to check webpage posts
    here early in the daylight, as i love to gain knowledge
    of more and more.

  13. Pingback: svn:Can
  14. Pingback: svn:Can
  15. I used to be able to find good info from your content.

  16. Hi there, I enjoy reading through your article. I like to write a little comment to support you.

  17. Do you mind if I quote a couple of your articles as long as I provide
    credit and sources back to your webpage? My website is in the exact same niche
    as yours and my users would definitely benefit from a lot
    of the information you present here. Please let
    me know if this alright with you. Many thanks!

  18. At this time I am ready to do my breakfast, later than having my breakfast coming again to read other news.

  19. Normally I don’t learn article on blogs, but I wish to say that this write-up very forced me to check out and do
    it! Your writing style has been amazed me. Thanks, quite great
    post.

  20. It’s amazing to pay a visit this website and
    reading the views of all mates on the topic of this paragraph, while I
    am also keen of getting experience.

  21. What a data of un-ambiguity and preserveness of precious know-how on the topic of
    unpredicted feelings.

  22. http://gg.gg says:

    Peculiar article, totally what I was looking for.

  23. Hey! I could have sworn I’ve been to this site before but after checking
    through some of the post I realized it’s new to me. Anyhow, I’m definitely happy I found it and I’ll be bookmarking and checking
    back frequently!

  24. Paragraph writing is also a excitement, if
    you know afterward you can write otherwise it is complex to write.

  25. Remarkable issues here. I am very satisfied to look your article.
    Thank you so much and I am having a look forward to touch you.
    Will you kindly drop me a e-mail?

  26. Helpful info. Lucky me I found your web site accidentally, and I am surprised why this accident did not took place earlier!
    I bookmarked it.

  27. I enjoy what you guys tend to be up too. Such clever work and coverage!
    Keep up the amazing works guys I’ve included you guys to blogroll.

  28. Pretty component of content. I just stumbled upon your website and in accession capital to assert that I acquire actually
    loved account your weblog posts. Any way I will be subscribing to your augment or even I fulfillment you get entry to consistently quickly.

  29. chilp.it says:

    Howdy! I could have sworn I’ve visited this blog before but after looking at some of the
    posts I realized it’s new to me. Regardless, I’m definitely pleased I came across it and I’ll
    be book-marking it and checking back regularly!

  30. Hello There. I found your blog using msn. This is
    a very well written article. I will make sure to bookmark it and come back to read more of your useful info.
    Thanks for the post. I will definitely return.

  31. Very good information. Lucky me I ran across your blog
    by chance (stumbleupon). I have book-marked it for later!

  32. Sling TV says:

    I constantly emailed this web site post page to all my friends, as if like to read it afterward
    my friends will too.

  33. Pretty great post. I just stumbled upon your weblog and wanted to say that I’ve truly loved surfing around your blog posts.
    In any case I’ll be subscribing in your feed and I
    am hoping you write again soon!

  34. fantastic submit, very informative. I ponder why the opposite experts of this
    sector don’t realize this. You must proceed your writing.
    I am sure, you’ve a great readers’ base already!

  35. My family members every time say that I am wasting
    my time here at web, except I know I am getting familiarity every day by reading
    thes nice content.

  36. Amazing! Its really remarkable post, I have got much clear idea about
    from this post.

  37. Pingback: svn:Can
  38. Mellisa says:

    Inspiring quest there. What occurred after?
    Thanks!

  39. gg.gg says:

    It’s in point of fact a nice and useful piece of info.
    I’m satisfied that you simply shared this helpful information with us.

    Please keep us up to date like this. Thanks for sharing.

  40. health site says:

    Usually I do not read post on blogs, but I would like to say
    that this write-up very forced me to check out and do so!
    Your writing style has been amazed me. Thanks, quite great post.

  41. download says:

    In fact no matter if someone doesn’t understand afterward its up to other users that they will assist,
    so here it happens.

  42. Hey there! Do you know if they make any plugins to help with Search
    Engine Optimization? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good results.
    If you know of any please share. Cheers!

  43. Download says:

    Your style is so unique in comparison to other people I have read stuff from.
    Thanks for posting when you have the opportunity, Guess
    I will just bookmark this web site.

  44. amazonaws says:

    Hmm is anyone else experiencing problems with the pictures on this blog loading?
    I’m trying to figure out if its a problem on my end or if it’s the blog.
    Any feed-back would be greatly appreciated.

  45. I must point out my love for your kind-heartedness giving support to all those that actually need assistance with in this theme. Your personal dedication to passing the solution all through had been particularly functional and have surely permitted associates much like me to arrive at their objectives. Your informative guide means a whole lot a person like me and extremely more to my office workers. Best wishes; from all of us.

  46. Pingback: Facebook
  47. Genuiney no matter if someоne doesn’t қnow then іtѕ up tоo otһer viewers that tһey wiⅼl assist, ѕo here it tɑkes pⅼace.

  48. Uberrant.com says:

    Do yoᥙ mind іf I quote a cuple οff үоur posts аs ⅼong as Ӏ provide credit aand sources bаck to yoսr webpage?
    My website іs in thе exact samе nicdhe ɑs yours and myy users woulԀ genuinely benefit frⲟm
    some of the informatiоn уou provide hеre. Рlease let mme
    knoѡ if this ok with you. Regards!

  49. Fit Lyfe says:

    Hі to all, hhow is all, I think еverу one iѕ
    gettimg moгe frߋm thiѕ site, and your views arе nice for neԝ
    people.

  50. Appreciating the time аnd energy yoᥙ ρut into your blog and iin depth information yߋu provide.

    It’s good tߋ come аcross a blog every once in ɑ whiⅼe thqt isn’t the same unwanted rehashed material.

    Fantastic гead! І’vе saved yoᥙr site ɑnd Ӏ’m adding your
    RSS feweds tо my Google account.

  51. I amm curious to find out ᴡhat blog platform yyou һappen to
    be utilizing? І’m having some small security ⲣroblems
    ᴡith my latеst blog and I’d like t᧐ find somethіng more safeguarded.
    Do you һave any solutions?

  52. Pingback: Facebook
  53. It’s vеry effortless tօ find оut any topic оn web as compared tо textbooks, аѕ I found tһis post аt thiѕ site.

  54. BuⅼkPharma.net sells real legit anabolic steгoіds.

    All their stuff is authentic annd of very high quality –
    here you can buy testosterone, anadrol, trenbolone, human growth hormone,
    cytomel, T3, and more without prescriⲣtion

  55. РharmaEurope.net sells real legit anabolic sterоids. All their stuff iis
    authentiс and of very high qualitү –
    here you can buy testosterone, anadrol, trenbolone, human gгowth
    hormone, cytօmel, T3, and more without prescription

  56. Jimusada says:

    [url=https://albuterolhf.com/]albuterol inhaler for sale[/url] [url=https://allopurinol100.com/]allopurinol 300mg[/url] [url=https://trazodone50.com/]trazodone 50mg[/url] [url=https://diflucan150.com/]fluconazole 150mg order[/url] [url=https://tetracycline500.com/]tethratycline[/url]

  57. You are so cool! I do not believe I’ve truly read through something like that before.
    So great to find somebody with a few original thoughts on this subject matter.
    Seriously.. thanks for starting this up. This site is something that is
    needed on the internet, someone with some originality!

  58. My coder is trying to persuade me to move to .net from PHP.
    I have always disliked the idea because of the costs.
    But he’s tryiong none the less. I’ve been using Movable-type on several websites for about a year
    and am concerned about switching to another
    platform. I have heard great things about blogengine.net.

    Is there a way I can transfer all my wordpress content into it?
    Any help would be really appreciated!

  59. Veronique says:

    If you are going for finest contents like me, only pay a visit this website everyday as it presents feature contents, thanks
    viagra – Veronique,

  60. Pingback: Viagra Online
  61. Remco Melis says:

    This piece of writing will assist the internet users for building up new weblog or even a weblog from
    start to end.

  62. My brother suggested I may like this web site.
    He used to be totally right. This submit truly
    made my day. You cann’t believe just how a lot time I had spent for this info!
    Thank you!

  63. minecraft says:

    It’s going to be end of mine day, but before ending I am reading this impressive paragraph to improve my experience.

  64. Thaat iss veгy attention-grabbing, Υou are ɑ very professional
    blogger. Ӏ have joined y᧐ur rss feed and stay սp for seeking more of youг wonderful post.
    Aⅼso, I һave shared youjr web site iin mу social networks

  65. There are numerous benefits of carpeting cleaning, not the least of which is that it adds to the great feeling every
    person gets from walking barefoot on newly cleaned up rugs.

    Call today for your personal, specialist rug cleaning examination as well as allow the professionals show you how
    your house can seem new once again with clean rugs.

  66. I do not know whether it’s just me or if perhaps everyone else encountering
    problems with your site. It looks like some of the written text on your posts are running off the screen.
    Can somebody else please provide feedback and let
    me know if this is happening to them as well? This might be a problem with my browser
    because I’ve had this happen previously. Many thanks

  67. This is a topic which is close to my heart… Many thanks!
    Exactly where are your contact details though?

  68. minecraft says:

    Thanks for sharing your thoughts on svn. Regards

  69. minecraft says:

    Amazing issues here. I am very satisfied to look your post.
    Thanks a lot and I’m having a look ahead to contact you.
    Will you kindly drop me a e-mail?

  70. minecraft says:

    I just couldn’t depart your web site prior to suggesting that I extremely loved
    the usual information an individual provide in your guests?

    Is gonna be back often in order to check out new posts

  71. Have you ever thought about including a little bit more than just your
    articles? I mean, what you say is important and everything.
    Nevertheless think about if you added some great graphics or videos to give your posts more,
    “pop”! Your content is excellent but with pics and videos, this website could undeniably be one of the most beneficial in its niche.
    Great blog!

  72. Greetings from Carolina! I’m bored to death at work so I decided to
    browse your website on my iphone during lunch break. I really like the information you provide here and can’t wait
    to take a look when I get home. I’m shocked at how fast your blog loaded on my mobile ..
    I’m not even using WIFI, just 3G .. Anyhow, good blog!

  73. Pingback: svn:Can
  74. g says:

    Its like you learn my thoughts! You appear to know a lot about this, such as you
    wrote the e book in it or something. I feel that you can do
    with a few p.c. to force the message house a little bit,
    but instead of that, that is magnificent blog.
    A fantastic read. I’ll certainly be back.

  75. Greetings from Florida! I’m bored to death at work so I decided to check out your blog on my
    iphone during lunch break. I love the knowledge you present here and can’t wait to take
    a look when I get home. I’m amazed at how fast your blog loaded on my cell phone
    .. I’m not even using WIFI, just 3G .. Anyhow, good blog!

  76. I was recommended this website by my cousin. I am not sure whether this post is written by him as no one else know such detailed about my difficulty.

    You’re wonderful! Thanks!

  77. Normally I don’t read post on blogs, but I would like to say that this
    write-up very compelled me to check out and do it!
    Your writing taste has been amazed me. Thank you, quite nice article.

  78. This is very fascinating, You are a very skilled blogger.

    I have joined your feed and sit up for searching for
    more of your magnificent post. Also, I’ve shared your site
    in my social networks

  79. Good day! Do you know if they make any plugins to assist with Search
    Engine Optimization? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good results.
    If you know of any please share. Many thanks!

  80. If some one wishes expert view concerning running a blog after that
    i propose him/her to go to see this weblog, Keep up the
    nice work.

  81. Good blog you have got here.. It’s difficult to find good quality writing like yours nowadays.
    I really appreciate people like you! Take care!!

  82. Hi there friends, how is all, and what you desire
    to say concerning this piece of writing, in my view its really awesome for me.

  83. Attractive section of content. I just stumbled upon your blog
    and in accession capital to assert that I get actually
    enjoyed account your blog posts. Any way I will be subscribing to your augment
    and even I achievement you access consistently quickly.

  84. Blainefak says:

    get viagra https://viagrawithoutadoctorprescription24.com have a peek at this site

  85. It’s very trouble-free to find out any topic on web as compared to textbooks,
    as I found this paragraph at this site.

  86. Hi there, its good piece of writing concerning media print, we
    all be familiar with media is a enormous source of information.

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