sync_members: problems with u umlaut

Bug #265787 reported by Doko-users
2
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/sync_members", line 283, in ?
    main()
  File "/usr/sbin/sync_members", line 275, in main
    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://sourceforge.net/tracker/index.php?func=detail&aid=644005&group_id=103&atid=100103]

Revision history for this message
Barry Warsaw (barry) wrote :

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.

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.