Chris's Wiki :: blog/python/UnicodeConversionExceptions Commentshttps://utcc.utoronto.ca/~cks/space/blog/python/UnicodeConversionExceptions?atomcommentsDWiki2008-11-13T23:18:44ZRecent comments in Chris's Wiki :: blog/python/UnicodeConversionExceptions.From 65.172.155.230 on /blog/python/UnicodeConversionExceptionstag:CSpace:blog/python/UnicodeConversionExceptions:3fe67d5f4502d4e792617f8bba44015ce064ef37From 65.172.155.230<div class="wikitext"><p>Hmm, if you say so.</p>
<p>I recently just gave up with python's unicode handling and ported the utf8 functions from
<a href="http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c">http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c</a> into yum, you want at least:</p>
<p><a href="http://yum.baseurl.org/gitweb?p=yum.git;a=commitdiff;h=ea1caa2bdd7e9d8fd22e2eeebef53ad810c94fdb">http://yum.baseurl.org/gitweb?p=yum.git;a=commitdiff;h=ea1caa2bdd7e9d8fd22e2eeebef53ad810c94fdb</a></p>
<p><a href="http://yum.baseurl.org/gitweb?p=yum.git;a=commitdiff;h=809f033c400b124668f74b44834cf71a76a4fe13">http://yum.baseurl.org/gitweb?p=yum.git;a=commitdiff;h=809f033c400b124668f74b44834cf71a76a4fe13</a></p>
<p>...if you want the copy/paste method. I'm probably going to turn them into their own module eventually (probably as soon as I/someone hit the same pain anywhere else with python code and want it).</p>
</div>2008-11-13T23:18:44Z