Thursday, December 14, 2006

Make python use UTF8 instead of ascii

cd /usr/lib/python2.3/site-packages/
vi sitecustomize.py

(add the following lines to the file, save it)
import sys, codecs
sys.setdefaultencoding('utf-8')

from
http://plone.org/products/cmfcontentpanels/issues/1

No comments: