sync_members: problems with u umlaut
Bug #265787 reported by
Doko-users
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Fix Released
|
High
|
Unassigned |
Bug Description
Running sync_members -n,
I get this error, when a member with an umlaut-u in
it's real name gets removed.
Traceback (most recent call last):
File "/usr/sbin/
main()
File "/usr/sbin/
print _('Removed: <%(addr)30s> %(name)s')
UnicodeError: ASCII encoding error: ordinal not in
range(128)
Changing the ü in the web-frontend to ue, and then
running again sync_members "fixes" the problem.
[http://
To post a comment you must log in.
The same problem affects list_members. I think I've fixed
them both by coercing the unicode text to a byte string in
the default encoding. That's about the only way to know
what encoding is going to be used by stdout, AFAICT.
Please check and if this isn't sufficient, we'll have to
think of something else.