diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2011-08-27 21:52:50 +0100 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2011-09-05 21:21:35 +0100 |
commit | 9f5605fb9d6f3e11cf742f04bb8afd075e038b83 (patch) | |
tree | 3aabb6cca73c5f8c74e0b55d282bc6790c9430ce | |
parent | 3dee96165454fdd4e56136691f7ea2067550b884 (diff) |
hotfix issue #38
-rw-r--r-- | alot/message.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/message.py b/alot/message.py index f4cc2f39..f3128eba 100644 --- a/alot/message.py +++ b/alot/message.py @@ -184,7 +184,7 @@ def extract_body(mail): raw_payload = part.get_payload(decode=True) if part.get_content_maintype() == 'text': if enc: - raw_payload = unicode(raw_payload, enc) + raw_payload = unicode(raw_payload, enc, errors='replace') else: raw_payload = unicode(raw_payload, errors='replace') if ctype == 'text/plain': |