2009年10月15日
eyeD3がこけるので
ubuntu 9.04 で eyeD3が
'ascii' codec can't encode characters in position 17-30: ordinal not in range(128)と言ってこけるので /etc/python2.6/sitecustomize.py に細工した。
# diff -ud sitecustomize.py.org sitecustomize.py
--- sitecustomize.py.org 2009-04-19 11:50:18.000000000 +0900
+++ sitecustomize.py 2009-10-15 00:00:24.000000000 +0900
@@ -1,4 +1,7 @@
# install the apport exception handler if available
+import sys
+sys.setdefaultencoding('utf-8')
+
try:
import apport_python_hook
except ImportError:




