[Bug 1088506] Re: The messages of console utilities have wrong encoding

Mark Sapiro mark at msapiro.net
Tue Dec 11 06:58:33 CET 2012

Mailman's character set for Russian is koi8-r. This means that
everything which is displayed in Russian is in the koi8-r character set.
You can change this to utf-8 as follows:

1) put

add_language('ru', 'Russian',  'utf-8', 'ltr')

in mm_cfg.py.

2) run iconv to transliterate all the templates in Mailman's
templates/ru/ directory from koi8-r to utf-8.

3) also, run iconv to transliterate Mailman's
messages/ru/LC_MESSAGES/mailman.po to utf-8 and then edit the file to
replace the line

"Content-Type: text/plain; charset=koi8-r\n"

near the beginning with

"Content-Type: text/plain; charset=utf-8\n"

4) run Mailman's bin/msgfmt.py or the system's msgfmt command to compile
messages/ru/LC_MESSAGES/mailman.po into the binary
messages/ru/LC_MESSAGES/mailman.mo.  Mailman's msgfmt.py is more
forgiving of some anomalies which may or may not be present in the
Russian message catalog.

You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.

  The messages of console utilities have wrong encoding

To manage notifications about this bug go to:

More information about the Mailman-coders mailing list