diff options
| author | tkikuchi | 2005-11-19 03:04:24 +0000 |
|---|---|---|
| committer | tkikuchi | 2005-11-19 03:04:24 +0000 |
| commit | 5fd4f6690df4ed3103b41a8c73786335c85936bd (patch) | |
| tree | c484ba40e1805c271a2bb80d6cad96c78e10cb8e /Mailman/Handlers/ToDigest.py | |
| parent | effaa09d577874421e1dce3bc0edf9f03b40fd50 (diff) | |
| download | mailman-5fd4f6690df4ed3103b41a8c73786335c85936bd.tar.gz mailman-5fd4f6690df4ed3103b41a8c73786335c85936bd.tar.zst mailman-5fd4f6690df4ed3103b41a8c73786335c85936bd.zip | |
Diffstat (limited to 'Mailman/Handlers/ToDigest.py')
| -rw-r--r-- | Mailman/Handlers/ToDigest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Handlers/ToDigest.py b/Mailman/Handlers/ToDigest.py index 0e4bb94d9..cd96b5a60 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' |
