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.

Now it looks ok.

Cheers,

Johannes

Am 08.08.20 um 15:27 schrieb Johannes Rohr:
>
> Dear all,
>
> I am looking for a way to ensure that everything is in proper UTF-8 in
> the web interface Specifically, my problem is that messages from
> gettext for German are inserted in ISO-8859-1 while for other
> languages I have tested, including Norwegian and Russian, mailman
> seems to generate proper UTF-8, even without explicitly enabling UTF-8
> in mm_cfg.py.
>
> As an example, take
> https://lists.uferwerk.org/cgi-bin/mailman/listinfo/huehner
>
> "Um frühere Nachrichten an diese Liste zu sehen, besuchen Sie bitte
> das Archiv der Liste Huehner
> <https://lists.uferwerk.org/cgi-bin/mailman/private/huehner/>. (/Das
> aktuelle Archiv ist nur f�r die Abonnenten der Liste zug�nglich./)"
>
> When I inspect the source code of the German page, I see that part of
> the umlauts are properly encoded as html entities such as &uuml;,
> &auml; and others are not, they are plain ISO-8819-1 and thusly get
> screwed up, when the browser interprets the page as UTF-8. They seem
> to be inserted on-the-fly by the python interpreter, from
> /var/lib/mailman/messages/de/LC_MESSAGES/mailman.po  and I notice that
> /var/lib/mailman/messages/de/LC_MESSAGES/mailman.po is in ISO-8859-1,
> not in UTF-8.
>
> In mm_cfg.py I have done what the manual recommends
> <https://wiki.list.org/DOC/4.90%20My%20list%27s%20moderator%20interface%20and%20plain%20format%20digests%20have%20garbled%20non-ascii.%20Change%20English%20charset%20to%20utf-8.>.
> Without it, the message strings get rendered correctly, while the list
> descriptions from the configuration, which are apparently in UTF-8 get
> rendered as two letter strings: "*Huehner -- Liste für alle
> Hühner-Eltern im Uferwerk".*
>
> Can someone maybe tell me what I can do to reconcile this apparent
> mismatch?
>
> Thanks so much in advance,
>
> Johannes
>
> *
> *
>
>

------------------------------------------------------
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