diff options
Diffstat (limited to 'Mailman/htmlformat.py')
| -rw-r--r-- | Mailman/htmlformat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/htmlformat.py b/Mailman/htmlformat.py index cd20c286c..22d6922b9 100644 --- a/Mailman/htmlformat.py +++ b/Mailman/htmlformat.py @@ -325,7 +325,7 @@ class Document(Container): if not self.suppress_head: output.append('%s</BODY>' % tab) output.append('%s</HTML>' % tab) - return NL.join(output) + return NL.join(output).encode(charset, 'replace') def addError(self, errmsg, tag=None): if tag is None: |
