[Mailman-Users] 8-bit email address

Jon Carnes jonc at nc.rr.com
Thu Mar 6 22:34:02 CET 2003

See if this note from the archives clears up your problem:
I suppose some member having latin-1 character in his fullname
and your list preferred language is english.
You may want to override the list preferred charset by putting
following lines in mm_cfg.py

def _(s):
    return s
LC_DESCRIPTIONS['en'] = ( _('English (USA)'), 'iso-8859-1' )
del s

or if you don't care the translation, simply
LC_DESCRIPTIONS['en'] = ( 'English (International)', 'iso-8859-1')

This will eliminate errors but still you will get unprintable
charcters in '?'. If you need it printed, hack.



Good luck - Jon Carnes

On Tue, 2003-03-04 at 12:30, David Birnbaum wrote:
> Folks,
> Running Mailman 2.1.1, works just dandy.  However, one of my lists has
> somehow gotten an 8-bit character in one of the addresses, and I can't
> seem to delete it.
> It breaks list_members as follows:
> Traceback (most recent call last):
>   File "/usr/local/httpd/DOMAINS/mailman.chelsea.net/bin/list_members", line 232, in ?
>     main()
>   File "/usr/local/httpd/DOMAINS/mailman.chelsea.net/bin/list_members", line 207, in main
>     s = formataddr((name, addr)).encode(enc, 'replace')
> UnicodeError: ASCII decoding error: ordinal not in range(128)
> Any suggestions on how to fix this?  I need to enumerate the list for
> other purposes.  It has 16,000 members in it, so reentry is not really an
> option.
> Thanks,
> David.
> ------------------------------------------------------
> Mailman-Users mailing list
> Mailman-Users at python.org
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> This message was sent to: jonc at nc.rr.com
> Unsubscribe or change your options at
> http://mail.python.org/mailman/options/mailman-users/jonc%40nc.rr.com

More information about the Mailman-Users mailing list