nonmember_rejection_notice - when mailed, it shows utf-8 characters as Λ

Bug #1010259 reported by Savvas Radevic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Triaged
Wishlist
Unassigned

Bug Description

I tried to set the nonmember_rejection_notice
The text on the mailman admin site appears OK, but when it's mailed to a nonmember user it shows i.e. "Λ" instead of utf-8 characters.

The server uses mailman 2.1.13 (lists.ubuntu.com):
https://lists.ubuntu.com/mailman/listinfo/ubuntu-cy

Example of nonmember_rejection_notice message:

== START ==
English:

Sorry, you have to be a complete member to post to this mailing list.

Greek (Ελληνικά):

Λυπούμαστε πολύ, αλλά πρέπει να εγγραφείτε σαν μέλος ούτως ώστε να αποδεκτούμε την ηλεκτρονική σας διεύθυνση και την καταχώρησή σας.

== END ==

Actual message received by a nonmember user:

== START ==
English:

Sorry, you have to be a complete member to post to this mailing list.

Greek (Ελληνικά):

Λυπούμαστε
πολύ, αλλά
πρέπει να
εγγραφείτε
σαν μέλος
ούτως ώστε να
αποδεκτούμε
την
ηλεκτρονική
σας
διεύθυνση
και την
καταχώρησή
σας.
== END ==

description: updated
description: updated
Revision history for this message
Mark Sapiro (msapiro) wrote :

Was the list's preferred_language set to Greek when you set the nonmember_rejection_notice, and when the rejection was sent?

If the list's preferred_language is English and you want to include non-ascii characters in nonmember_rejection_notice or any other messages, you need to change Mailman's character set for English from us-ascii to utf-8 by putting

add_language('en', 'English (USA)', 'utf-8', 'ltr')

in mm_cfg.py

Changed in mailman:
assignee: nobody → Mark Sapiro (msapiro)
status: New → Incomplete
Revision history for this message
Mark Sapiro (msapiro) wrote :

Also note that Mailman's character set for Greek is iso-8859-7, not utf-8. This can be changed, but not without recoding the Greek message catalog and templates.

Revision history for this message
Savvas Radevic (medigeek) wrote :

Greek is not available in the available_languages list, so I can't select it as preferred_language.
I suppose this is not mailman's fault, it's ubuntu-website or <email address hidden>
Btw, if I set preferred_language as Greek, wouldn't that change the mailman website to Greek? I wouldn't want that, as we're a multilingual country (Greek, Turkish and English).
Thank you for your time.

Revision history for this message
Savvas Radevic (medigeek) wrote :

Is the appearance of Greek linked to the translated po files? I mean if the po file doesn't exist, does it show the language in available_languages?
I'm asking because the mailman doesn't seem to have a Greek translation file yet.

Revision history for this message
Mark Sapiro (msapiro) wrote :

Actually, the Greek translation for Mailman is new. It was not in even 2.1.14. It is in 2.1.15rc1 released last month and will be in 2.1.15 which will be released next week.

If you want Mailman's admin and admindb pages in English, the only way to include non-ascii in the nonmember_rejection_notice and have it render properly in the notice sent to the user is to change Mailman's character set for English to utf-8 as described in <https://bugs.launchpad.net/mailman/+bug/1010259/comments/1>. This is because even though there are ways of putting non-ascii, e.g. utf-8, characters in nonmember_rejection_notice, the actual reject email sent to the user will say the charset of the message is that of the list's preferred language.

Changed in mailman:
assignee: Mark Sapiro (msapiro) → nobody
importance: Undecided → Wishlist
status: Incomplete → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.