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下,输入如下命令:
[coolcode]
#export LC_CTYPE=en_US.UTF-8
[/coolcode]

然后运行如下命令确认发生的变化如下:
[coolcode]
#locale
[/coolcode]
将得到如下的结果返回:
[coolcode]
LANG=
LC_COLLATE=”C”
LC_CTYPE=”en_US.UTF-8″
LC_MESSAGES=”C”
LC_MONETARY=”C”
LC_NUMERIC=”C”
LC_TIME=”C”
LC_ALL=
[/coolcode]

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

378 thoughts on “svn:Can’t convert string from ‘UTF-8’ to native encoding”

  1. 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 😉

  2. 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!

  3. Pingback: svn:Can
  4. Pingback: svn:Can
  5. Pingback: svn:Can
  6. 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!

  7. Pingback: svn:Can
  8. 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.

  9. Pingback: Facebook
  10. 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!

  11. Pingback: Facebook
  12. [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]

  13. 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!

  14. Pingback: Viagra Online
  15. 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.

  16. 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

  17. 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!

  18. 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!

  19. Pingback: svn:Can
  20. 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.

  21. Pingback: bandarqq
  22. Oh my goodness! Impressive article dude! Thanks, However I am
    having problems with your RSS. I don?t know the reason why I am unable to join it.
    Is there anyone else getting the same RSS issues?

    Anybody who knows the solution will you kindly
    respond? Thanks!!

  23. Terrific work! This is the kind of info that are supposed to be shared around the internet.
    Disgrace on the search engines for now not positioning this publish upper!

    Come on over and discuss with my website . Thanks =)

  24. Greetings I am so thrilled I found your site, I really found
    you by accident, while I was researching on Bing for something else,
    Anyways I am here now and would just like to say cheers for
    a tremendous post and a all round enjoyable blog (I also love the theme/design), I don’t
    have time to browse it all at the minute but I have bookmarked it and also added in your RSS feeds, so when I have time I will be back
    to read a great deal more, Please do keep up the excellent work.

  25. Pingback: we-b-tv.com
  26. Pingback: hs;br
  27. Pingback: tureckie_serialy
  28. Pingback: 00-tv.com
  29. Pingback: +1+
  30. Pingback: watch
  31. Pingback: ++++++
  32. Pingback: HD-720
  33. Pingback: 2020
  34. Pingback: Video
  35. Pingback: wwin-tv.com
  36. Pingback: Department store
  37. Woah! I’m really loving the template/theme of this website.
    It’s simple, yet effective. A lot of times it’s very hard to get that “perfect balance” between superb usability and visual
    appearance. I must say that you’ve done a very good job with
    this. Also, the blog loads super fast for me on Firefox.
    Excellent Blog!

  38. Pingback: nike kyrie 5
  39. Pingback: hermes belt
  40. Pingback: nike air max95
  41. What i do not understood is actually how you are
    not actually much more smartly-liked than you may be right now.

    You are very intelligent. You understand thus significantly on the subject of this subject, made me personally consider it from a lot of numerous angles.

    Its like men and women don’t seem to be interested until it
    is something to accomplish with Girl gaga! Your personal stuffs outstanding.
    At all times take care of it up!

  42. Pingback: nike air vapormax
  43. Pingback: moncler jackets
  44. Pingback: supreme clothing
  45. Pingback: nike air max
  46. Pingback: curry shoes
  47. Pingback: cheap jordans
  48. Pingback: kd 11
  49. Pingback: balenciaga speed
  50. Pingback: off white jordan 1
  51. Pingback: air jordan
  52. Pingback: vans shoes
  53. Pingback: jimmy choo shoes
  54. Pingback: kyrie 5
  55. Pingback: coach outlet sale
  56. Pingback: balenciaga shoes
  57. Pingback: golden goose shoes
  58. Pingback: bape hoodie
  59. Pingback: yeezy boost 350
  60. Pingback: retro jordans
  61. Pingback: nike air max 97
  62. Pingback: yeezy boost 350 v2
  63. Pingback: nike cortez
  64. Pingback: adidas superstar
  65. Pingback: nike shoes
  66. Pingback: longchamp outlet
  67. Pingback: yeezy
  68. Pingback: adidas ultra
  69. Pingback: fila shoes
  70. Pingback: golden goose
  71. Pingback: hermes handbags
  72. Pingback: Watch TV Shows
  73. Pingback: Kinokrad
  74. Pingback: filmy-kinokrad
  75. Pingback: kinokrad-2019
  76. Pingback: serial
  77. Pingback: cerialest.ru
  78. Pingback: youtube2019.ru
  79. Pingback: dorama hdrezka
  80. Pingback: movies hdrezka
  81. Pingback: HDrezka
  82. Pingback: kinosmotretonline
  83. Pingback: LostFilm HD 720
  84. Pingback: Viagra
  85. Hello there! This is kind of off topic but I need some help
    from an established blog. Is it difficult to set up your own blog?
    I’m not very techincal but I can figure things out pretty quick.
    I’m thinking about making my own but I’m not sure where to start.

    Do you have any ideas or suggestions? Thank you

  86. I like checking your web site. Thanks for your time! Generic viagbra 100mg
    reviews 2016 buy viagra onlije canada pharmacy overnight reviews
    florida buy viagra online no script 100% safe without http://Myonlinebuy.us/ generic
    viagra online pharmacy [url=https://www.buygenericviagra69.com/]buy viagra
    online usa pharmacy[/url] viagra for men coupons 2017 10

  87. Pingback: bofilm
  88. Pingback: topedstoreusa.com
  89. Awesome site you have here but I was wondering if
    you knew of any discussion boards that cover the same topics talked about here?
    I’d really like to be a part of community where I can get opinions
    from other experienced individuals that share the same interest.
    If you have any recommendations, please let me know.
    Bless you!

  90. significantly tadalafil en antibiotica [url=http://viagrapid.com/generic-viagra-online.php]buy
    generic viagra pills online[/url] initially cual es mejor el
    tadalafil o el levitra probably what is the cost
    of tadalafil at costco viagrapid.com successfully beipackzettel von tadalafil originally generic tadalafil dangers http://viagrapid.com/generic-viagra-online.php often tadalafil adderall interaction http://viagrapid.com/generic-viagra-online.php

  91. Pingback: hqcialismht.com
  92. Pingback: Yeezy
  93. Pingback: svn:Can
  94. Pingback: svn:Can
  95. Pingback: viagra step dad
  96. Pingback: jennifermed.com
  97. Pingback: 4serial.com
  98. Pingback: See-Season-1
  99. Pingback: Evil-Season-1
  100. Pingback: Evil-Season-2
  101. Pingback: Evil-Season-3
  102. Pingback: Evil-Season-4
  103. Pingback: Dollface-Season-1
  104. The main difference is always that when in Vegas you must
    access a physical casino and commence trying to find the particular slots that you’d like
    to experience. The most in-demand casinos
    activity of chance is video poker machines, as they’re classical internet blackjack games using high marketer payouts and
    interesting hands per hour. But before opting for more bingo
    cards remember to save lots of the bingo file.

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