[ mailman-Bugs-644005 ] sync_members: problems with u umlaut
Bugs item #644005, was opened at 2002-11-26 04:57 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100103&aid=644005&group_id=103
Category: command line scripts Group: 2.1 beta
Status: Closed Resolution: Fixed Priority: 7 Submitted By: Matthias Klose (doko) Assigned to: Nobody/Anonymous (nobody) Summary: sync_members: problems with u umlaut
Initial Comment: 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.
Comment By: Barry A. Warsaw (bwarsaw) Date: 2002-12-02 11:15
Message: Logged In: YES user_id=12800
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.
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100103&aid=644005&group_id=103
participants (1)
-
noreply@sourceforge.net