summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--b4/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/b4/__init__.py b/b4/__init__.py
index 85073e2..641cc70 100644
--- a/b4/__init__.py
+++ b/b4/__init__.py
@@ -851,6 +851,7 @@ class LoreMessage:
# Whatever, we'll use utf-8 and hope for the best
payload = payload.decode('utf-8', errors='replace')
part.set_param('charset', 'utf-8')
+ self.charset = 'utf-8'
if self.body is None:
self.body = payload
continue