On 8/8/20 6:47 AM, Johannes Rohr wrote:
> Dear all,
> 
> As a quick fix I have now recoded the mailman.po for de to from latin1
> to utf8 and re-compiled it with msgfmt. This seems to fix things. BTW, I
> stumbled across a problem with the mo file, that I had to fix first.

What was the problem with the .mo? Is something wrong in the distribution?

Note that Debian's (and Ubuntu's) Mailman 2.1 package at one time[1]
recoded templates and message catalogs to UTF-8 and changed the
definition of add_language in Defaults.py to hard-code utf-8 as the
charset for every language.

This was OK as far as it went, but they didn't consider the issue of
strings in list attributes being encoded in the old charset. This caused
serious issues for some sites. See
<https://mail.python.org/archives/list/mailman-users@python.org/thread/JDLVQY3EUEN2W4VIC4XVMO2HOT53NMZ5/#NTXJUVDV7SUWSLAPJ7AQTZTXGJGJW6DR>
for one thread on this.

[1] They appear to have removed
<https://sources.debian.org/patches/mailman/1:2.1.18-2/91_utf8.patch/>
from the latest packages. It was in their 1:2.1.23-1 package, but is not
in the 1:2.1.29-1 package.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
    https://mail.python.org/archives/list/mailman-users@python.org/

Reply via email to