Lithuanian or greek special characters in mailman produces bug message: Bug in Mailman

Created:

2016-11-16 13:21:37 UTC

Modified:

2017-08-08 13:39:37 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Lithuanian or greek special characters in mailman produces bug message: Bug in Mailman

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

  1. If Lithuanian special characters used in member name field in Mailman web interface it produces bug message such as:

    Bug in Mailman version 2.1.12
    We're sorry, we hit a bug!
    Please inform the webmaster for this site of this problem. Printing of traceback and other system information has been explicitly inhibited, but the webmaster can find this information in the Mailman error logs.
  2. Special characters of other languages are not encoded properly in Mailman webinterface and showed with ASCII codes.

Cause

ASCII encoding is set as default in Mailman:

# grep add_language  /usr/lib/mailman/Mailman/Defaults.py | grep USA
add_language('en', _('English (USA)'), 'us-ascii', 'ltr')

Resolution

Add the following line at the end of Mailman configuration file /usr/lib/mailman/Mailman/mm_cfg.py to show non-ASCII characters as is:

# grep add_language  /usr/lib/mailman/Mailman/mm_cfg.py
add_language('en', 'English', 'utf-8')
Have more questions? Submit a request
Please sign in to leave a comment.