mailman-i18n  

Re: [Mailman-i18n] Problem with Danish characters?

Mark Sapiro
Thu, 23 Apr 2009 08:47:52 -0700

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 <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

_______________________________________________
Mailman-i18n mailing list
Posts: Mailman-i18n@python.org
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-i18n/archive%40mail-archive.com