[Mailman-Developers] Encoding & html pages

Mark Sapiro msapiro at value.net
Mon Dec 6 22:17:19 CET 2004


Nadim Shaikli wrote:
>
>I then looked into Defaults.py where various languages are
>listed and their supplied encodings (again this is related to
>localization and I'm not looking to affect/change that).  Yet
>it seems to me that someone using 'en' as a language might still
>want to use "UTF-8" as the default encoding on all the HTML pages
>and I wasn't able to figure out how to do that.

Have you tried


def _(s):
    return s

add_language('en',    _('English (USA)'),       'utf-8')

del _

or maybe just

add_language('en',    'English (USA)',       'utf-8')


in mm_cfg.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-Developers mailing list