forked from sunaku/sunaku.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdarcs-migration-tailor-ascii-error.html
15 lines (15 loc) · 2.82 KB
/
darcs-migration-tailor-ascii-error.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html><html><head><meta charset="utf-8" /><meta content="noarchive" name="robots" /><title>ASCII/Unicode error in Tailor - The Terminal Programmer</title><meta content="2006-10-15T00:00:00-07:00" name="DCTERMS.created" /><meta content="2006-10-15T00:00:00-07:00" name="DCTERMS.modified" /><meta content="Suraj N. Kurapati" name="author" /><meta content="darcs, tailor, unicode, error, solution" name="keywords" /><meta content="width=device-width, initial-scale=1" name="viewport" /><meta content="Readably https://github.com/sunaku/readably" name="generator" /><link href="style.css" rel="stylesheet" type="text/css" /><link href="index.atom" rel="alternate" title="feed" type="application/atom+xml" /><script src="js/jquery.slim.min.js"></script></head><body><article data-entry-id="darcs-migration-tailor-ascii-error" id="body"><header><div class="navigation"><a class="rootlink" href="index.html#darcs-migration-tailor-ascii-error" title="The Terminal Programmer"><span>The Terminal Programmer</span></a></div><h1 class="title">ASCII/Unicode error in Tailor</h1><div class="author">Suraj N. Kurapati</div><time class="date" datetime="2006-10-15T00:00:00-07:00">15 October 2006</time></header><hr /><div class="description"></div><div class="content"><p>When using <a href="http://www.darcs.net/DarcsWiki/Tailor">Tailor</a> to migrate from
Subversion to the <a href="http://darcs.net">Darcs</a> distributed version control
system, I encountered an error saying:</p>
<div class="highlight"><pre class="highlight plaintext"><code>'ascii' codec can't encode character
</code></pre></div><p>According to <a href="http://progetti.arstecnica.it/tailor/ticket/28">this Tailor bug
report</a>, the solution is to
specify the <code>--encoding=utf-8</code> option to Tailor. However, that did not work
for me. Instead, I had to change Python’s default system encoding, in the
<code>/etc/python2.4/site.py</code> file, from <code>"ascii"</code> to <code>"utf-8"</code> to solve the
problem.</p>
</div><div class="comments" id="comments"><script>var disqus_container_id = 'comments';
var disqus_title = "ASCII/Unicode error in Tailor";
var disqus_url = "https://sunaku.github.io/darcs-migration-tailor-ascii-error.html";</script><script async="" src="https://theterminalprogrammer.disqus.com/embed.js"></script></div><hr /><footer><p class="copyright">© 2006 Suraj N. Kurapati</p><p class="credits"><a href="https://github.com/sunaku/readably">Readably</a> written, <a href="https://github.com/sainnhe/everforest">Everforest</a> colored. </p><p>Like my work? 👍 Please <a href="vegan-for-life.html">spare a life</a> today as
thanks! 🐮🐷🐔🐟🙊✌💞</p>
</footer><!--[if lt IE 9]><script src="js/html5shiv.min.js"></script><script src="js/html5shiv-printshiv.min.js"></script><![endif]--><script src="index.js"></script></article></body></html>