[Mailman-Users] Wrong encoding

Danil Smirnov danil at smirnov.la
Fri Feb 6 23:39:07 CET 2015

> Note that the reply from Danil about changing your web server's default
> charset is probably also relevant.

Unfortunately it is not. :(

After some testing I've found that AddDefaultCharset does not help -
it seems like Mailman changes default server's header to its own
default header for US English language: us-ascii.

You can change this for list-specific pages by selecting another
language but not for common lists index page which is always in
us-ascii encoding.

2015-02-07 0:18 GMT+02:00 Mark Sapiro <mark at msapiro.net>:
> It looks like you may have entered the list's description attributes and
> probably other things in UTF-8 encoding. It also appears the your
> Mailman installation's default language is English.

It is not true, because you can see correct Russian text on page
provided if you change page's encoding to Cyrillic KOI8-R in your

In this case I can only suggest quite ugly workaround: to add to
<Mailman home>/Mailman/mm_cfg.py file this line and restart Mailman:

add_language('en',    'English (USA)',       'koi8-r',    'ltr')

This line will force Mailman to output all English pages including
server list index page with KOI8-R encoding.
It will be okay for English and Russian text both.


> In Mailman 2.1.15, the encoding for Russian is koi8-r and data for the
> web UI needs to be entered in that character set. Also, non-ascii
> descriptions will never look right on admin and listinfo overviews
> unless the default language for the installation supports the lists
> encoding.
> Note that the encoding for Russian is changing in 2.1.19 to utf-8. That
> is a hard decision because of impacts on existing lists.
> Note that the reply from Danil about changing your web server's default
> charset is probably also relevant.
> --
> Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan
> ------------------------------------------------------
> Mailman-Users mailing list Mailman-Users at python.org
> https://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe: https://mail.python.org/mailman/options/mailman-users/danil%40smirnov.la

More information about the Mailman-Users mailing list