diff --git a/offlineimap/folder/IMAP.py b/offlineimap/folder/IMAP.py index 3988681..c7febea 100644 --- a/offlineimap/folder/IMAP.py +++ b/offlineimap/folder/IMAP.py @@ -839,7 +839,7 @@ class IMAPFolder(BaseFolder): # Convert bytes to str ndata0 = data[0][0].decode('utf-8') - ndata1 = data[0][1].decode('utf-8') + ndata1 = data[0][1].decode('utf-8', errors='replace') ndata = [ndata0, ndata1] return ndata