[Mailman-Users] Trying to understand charset encoding in mailman

Mark Sapiro mark at msapiro.net
Thu Apr 17 16:29:00 CEST 2014


On 04/17/2014 06:54 AM, Laura Creighton wrote:
> In a message of Thu, 17 Apr 2014 05:41:15 -0700, Mark Sapiro writes:
> 
> Now that my problem has gone from 'getting the EP footers to work' to
> 'understanding what exactly is going on here'.  And right now I do not
> see why the charset for the lists' language has to be hard coded in
> mm_cfg.py, nor why there has to be exactly one value for any given language
> which mailman supports.


I tried to explain that for any given language, the message catalog and
templates are encoded in some specific character set. If you simply
change the character set for the list, you must change it to one which
is a strict superset or everything breaks unless you also recode the
message catalog and templates. This works for changing us-ascii to,
e.g., iso-8859-1 or utf-8, but not in general.

Things will be easier in MM 3. Most things will be unicode internally
and utf-8 will be the preferred encoding.

-- 
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-Users mailing list