[Mailman-Users] Mailman and utf8

Mark Sapiro msapiro at value.net
Thu Sep 8 04:01:48 CEST 2005


Jan Kohnert wrote:
>
>Is there a parameter to tell pipermail to use utf8 encoding for the web
>archive? Or at least the encoding of the mail itself (although this would
>obviously be more difficult to do...)?

There is an LC_DESCRIPTIONS dictionary that has an entry for each
Mailman supported language giving the language name and character set.
Look at the end of Defaults.py.

You can put something like


def _(s):
    return s
add_language('en',    _('English (USA)'),       'utf-8')
del _

in mm_cfg.py. The above would change the character set for US English
from the default us-ascii to utf-8. Note that since you are in this
example giving new values to LC_DESCRIPTIONS[en], this overrides the
entry in Defaults.py.

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




More information about the Mailman-Users mailing list