From 224d6799d7fc61c97f4c1b061f9e60af119c7f70 Mon Sep 17 00:00:00 2001 From: tkikuchi <> Date: Sat, 19 Nov 2005 03:05:22 +0000 Subject: SF patch # 1246003 --- Mailman/Handlers/ToDigest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mailman/Handlers/ToDigest.py b/Mailman/Handlers/ToDigest.py index 0e4bb94d..cd96b5a6 100644 --- a/Mailman/Handlers/ToDigest.py +++ b/Mailman/Handlers/ToDigest.py @@ -341,7 +341,7 @@ def send_i18n_digests(mlist, mboxfp): try: payload = unicode(payload, mcset, 'replace' ).encode(lcset, 'replace') - except LookupError: + except (UnicodeError, LookupError): # TK: Message has something unknown charset. # _out means charset in 'outer world'. payload = unicode(payload, lcset_out, 'replace' -- cgit v1.2.3