[Bug 1010259] [NEW] nonmember_rejection_notice - when mailed, it shows utf-8 characters as Λ

Public bug reported:
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 ==
** Affects: mailman Importance: Undecided Status: New
** Description changed:
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 utf-8 characters such as Λ + 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 (Ελληνικά):
Λυπούμαστε πολύ, αλλά πρέπει να εγγραφείτε σαν μέλος ούτως ώστε να αποδεκτούμε την ηλεκτρονική σας διεύθυνση και την καταχώρησή σας.
---
Ubuntu-cy LoCo Team
info@ubuntucy.org
ubuntu-cy-owner@lists.ubuntu.com == 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 changed:
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 (Ελληνικά):
Λυπούμαστε πολύ, αλλά πρέπει να εγγραφείτε σαν μέλος ούτως ώστε να αποδεκτούμε την ηλεκτρονική σας διεύθυνση και την καταχώρησή σας.
- --- - - Ubuntu-cy LoCo Team - - info@ubuntucy.org - - ubuntu-cy-owner@lists.ubuntu.com == 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 ==

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 Status: New => Incomplete
** Changed in: mailman Assignee: (unassigned) => Mark Sapiro (msapiro)

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.

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 rt@ubuntu.com 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.
** Attachment added: "available_languages_lists_ubuntu.zip" https://bugs.launchpad.net/mailman/+bug/1010259/+attachment/3180403/+files/a...

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.

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 Importance: Undecided => Wishlist
** Changed in: mailman Status: Incomplete => Triaged
** Changed in: mailman Assignee: Mark Sapiro (msapiro) => (unassigned)
participants (2)
-
Mark Sapiro
-
Savvas Radevic