[Mailman-i18n] Problem with Danish characters?

Mark Sapiro mark at msapiro.net
Thu Apr 23 17:46:53 CEST 2009


Mark Sapiro wrote:
>
>You can edit the definition of setencoding() in
>/usr/lib/pythonV.V/site.py to replace "ascii" with "iso-8859-1", ...


Actually, the above is not the proper way to do this. The proper way is
to create /usr/lib/pythonV.V/site-packages/sitecustomize.py containing
the two lines

import sys
sys.setdefaultencoding('iso-8859-1')

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-i18n mailing list