svn: E000022: Can't convert string from 'UTF-8' to native encoding:

发表时间:2012-03-13 文章分类:ERRORS 阅读:4828

文章链接:http://www.webzone8.com/article/626.html
  今天搞独立svn的时候,写了一个shell用了同步update到web目录,当遇到有中文文件名提交的时候svn就报了如下错误:

svn: E000022: Can't convert string from 'UTF-8' to native encoding:
svn: E000022: /www/88avi.com/?\\230?\\150?\\176?\\229?\\187?\\186?\\230?\\150?\\135?\\230?\\156?\\172?\\230?\\150?\\135?\\230?\\161?\\163.txt


脚本更新的语句是:

[root@webzone8 88avi]vi update.sh
/usr/local/bin/svn update --username=88avi --password=88avi /www/88avi.com/


在文件头上添上一句话就可以了

[root@webzone8 88avi]vi update.sh
export LC_CTYPE=en_US.UTF-8;
/usr/local/bin/svn update --username=88avi --password=88avi /www/88avi.com/
有趣的视频娱乐一下

原文链接:http://www.webzone8.com/article/626.html

用户评论

用户【27.150.243*****】说:I want to point out my respect for your kind-heartedness for people that require help on that study. Your real dedication to getting the solution all over had been incredibly significant and has without exception allowed guys and women like me to attain their goals. Your interesting key points indicates this much to me and even more to my fellow workers. Best wishes; from everyone of us.

用户【27.150.243*****】说:The following time I learn a weblog, I hope that it doesnt disappoint me as a lot as this one. I mean, I know it was my option to learn, however I truly thought youd have one thing fascinating to say. All I hear is a bunch of whining about one thing that you could repair when you werent too busy searching for attention.

用户【27.150.243*****】说:That is the best blog for anybody who wants to search out out about this topic. You notice a lot its almost arduous to argue with you (not that I truly would want匟aHa). You positively put a new spin on a topic thats been written about for years. Nice stuff, simply great!

用户【27.150.243*****】说:I together with my friends have been reading through the excellent helpful hints located on the website and all of the sudden developed a horrible feeling I had not expressed respect to the blog owner for those tips. All the women are already certainly joyful to see all of them and have in effect honestly been loving these things. Appreciate your really being really accommodating and then for finding varieties of nice useful guides millions of individuals are really desirous to learn about. Our sincere apologies for not expressing appreciation to you earlier.

用户【27.150.243*****】说:It抯 exhausting to find knowledgeable individuals on this matter, however you sound like you recognize what you抮e talking about! Thanks

用户【27.150.243*****】说:Thank you so much for giving everyone an extraordinarily pleasant possiblity to read articles and blog posts from this site. It is always very superb plus packed with a great time for me personally and my office co-workers to search your blog at minimum three times per week to read the newest secrets you will have. Not to mention, I am also usually happy with all the excellent concepts served by you. Some 3 areas in this post are unequivocally the most suitable we have ever had.

用户【27.150.245*****】说:I together with my friends happened to be studying the great tactics from the website and so all of a sudden got a terrible feeling I had not expressed respect to the website owner for them. These boys became absolutely glad to read them and already have in actuality been enjoying them. We appreciate you indeed being considerably kind as well as for deciding on varieties of tremendous tips millions of individuals are really wanting to learn about. My personal honest regret for not expressing gratitude to you earlier.

用户【27.150.245*****】说:When I initially commented I clicked the -Notify me when new comments are added- checkbox and now each time a remark is added I get four emails with the same comment. Is there any manner you may remove me from that service? Thanks!

用户【27.150.245*****】说:I am also commenting to make you understand of the fine experience our child developed viewing yuor web blog. She realized so many details, including how it is like to have a very effective teaching style to let many people with ease fully understand certain problematic things. You undoubtedly did more than our desires. Thank you for offering these useful, safe, explanatory as well as fun guidance on that topic to Tanya.

用户【27.150.245*****】说:I discovered your blog website on google and test a couple of of your early posts. Proceed to maintain up the very good operate. I just further up your RSS feed to my MSN News Reader. Seeking forward to reading more from you in a while!?

用户【27.150.245*****】说:I together with my friends have been taking note of the excellent ideas from the website while before long I had a terrible suspicion I never thanked you for those strategies. My ladies came for that reason passionate to study all of them and have now absolutely been loving these things. Appreciate your really being quite considerate as well as for using varieties of really good things most people are really desperate to be informed on. My personal honest apologies for not expressing appreciation to earlier.

用户【27.150.240*****】说:The following time I learn a blog, I hope that it doesnt disappoint me as a lot as this one. I imply, I know it was my choice to read, but I truly thought youd have something attention-grabbing to say. All I hear is a bunch of whining about something that you may fix if you happen to werent too busy in search of attention.

用户【27.150.240*****】说:Thank you a lot for giving everyone remarkably special opportunity to read articles and blog posts from this blog. It can be so ideal and full of a good time for me and my office mates to search your web site particularly 3 times weekly to study the newest tips you have. Not to mention, I am also usually amazed considering the fantastic information you serve. Selected 2 facts in this post are in truth the most suitable we have ever had.

发表评论

姓名:*
邮箱:*
网站:*