[Bug 581518] [NEW] list_members --fullnames kills umlauts in names

Public bug reported: Running list_members --fullnames testlist should output this, as seen correctly in the web interface: Jürgen <...@gmx.de> Actually, it outputs: J?rgen <...@gmx.de> with the umlaut ü replaced by a question mark. ** Affects: mailman Importance: Undecided Status: New ** Description changed: Running - list_members --fullnames testlist + list_members --fullnames testlist should output this, as seen correctly in the web interface: - Jürgen <...@gmx.de> + Jürgen <...@gmx.de> Actually, it outputs: - J?rgen <...@gmx.de> - with the umlaut ü removed. + J?rgen <...@gmx.de> + with the umlaut ü replaced by a question mark. -- list_members --fullnames kills umlauts in names https://bugs.launchpad.net/bugs/581518 You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman.

** Changed in: mailman Status: New => Invalid -- list_members --fullnames kills umlauts in names https://bugs.launchpad.net/bugs/581518 You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman.

This is not a bug in list_members. list_members encodes the full names for output in the default encoding of the Python installation. If you want this to be, e.g., iso-8859-1 or utf-8 as opposed to ascii which is the normal Python default, you have to add, e.g., sys.setdefaultencoding('utf-8') to a sitecustomize.py module. See <http://docs.python.org/library/sys.html#sys.setdefaultencoding>. For example, if you want utf-8 encoding as the Python default, you could create /usr/lib/pythonv.v/site-packages/sitecustomize.py containing the two lines: import sys sys.setdefaultencoding('utf-8') -- list_members --fullnames kills umlauts in names https://bugs.launchpad.net/bugs/581518 You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman.

Thanks, that worked! Nice-to-have would be if list_members used the LANG setting (f.x. I have LANG=de_DE.UTF-8) to determine the output encoding to use. -- list_members --fullnames kills umlauts in names https://bugs.launchpad.net/bugs/581518 You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman.

This is really still a Python request, but I changed it back to New->Wishlist per comment #2. ** Changed in: mailman Importance: Undecided => Wishlist ** Changed in: mailman Status: Invalid => New -- list_members --fullnames kills umlauts in names https://bugs.launchpad.net/bugs/581518 You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman.
participants (2)
-
Jakob Unterwurzacher
-
Mark Sapiro