Kaja P. Christiansen
Fri, 24 Apr 2009 05:39:18 -0700
Hi Mark, Thanks much for the escape_html.patch.txt and the advice below: they have solved the problem with Danish characters in list_members (also sync_members!) and web membership page. This brings me to another question. When I define DEFAULT_CHARSET in the mm_cfg.py, and mm_cfg.py is imported in other modules, the encoding is actually known to Mailman. Would it be possible to use this value instead of patching Python? Kaja
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')
_______________________________________________ Mailman-i18n mailing list Posts: Mailman-i18n@python.org Unsubscribe: http://mail.python.org/mailman/options/mailman-i18n/archive%40mail-archive.com