[Mailman-Users] mailman uses wrong encoding, /etc/mailman/[language] not generated

Johannes Rohr jorohr at gmail.com
Tue Apr 25 13:22:44 EDT 2017

Am 25.04.2017 um 18:59 schrieb Mark Sapiro:
> You need to look at the messages/de/LC_MESSAGES/mailman.po file you
> have. Near the beginning will be a line like
> "Content-Type: text/plain; charset=xxx\n"
> where xxx is either ISO-8859-1 or UTF-8. If it is UTF-8 and the 'msgstr'
> values are utf-8 encoded, you can rebuild the .mo with
> cd messages/de/LC_MESSAGES/
> msgfmt -o mailman.mo mailman.po
> but I suspect that is not the case. I suspect that somehow in your
> migration process you replaced the Debian utf-8 encoded files with older
> iso-8859-1 files.
That might be the case. I didn't do the migration myself, but it is true
that the mailman.po for some reason was encoded in latin-1, not utf-8.
And the files which ship with the deb have the correct UTF-8 encoding.
So those with the wrong encoding must have been carried over. It is a
bit stupid, that those files are in /var so that dpkg doesn't replace them.

But again, thanks for your help! You got me on the right track. In
hindsight, the solution was trivial, but I just wasn't aware of the
existence of message catalogues outside of /usr/share/locale ...



More information about the Mailman-Users mailing list