'utf8' codec can't decode bytes in position 415-416: unexpected end of data Traceback (most recent call last): File "/mnt/hd/web/1bpm.net/ml.csound/app/handler.py", line 386, in handle() File "/mnt/hd/web/1bpm.net/ml.csound/app/handler.py", line 373, in handle return Thread(mailing_list).render({"threadid": int(parts[2])}) File "/mnt/hd/web/1bpm.net/ml.csound/app/handler.py", line 203, in render self.create(data) File "/mnt/hd/web/1bpm.net/ml.csound/app/handler.py", line 275, in create content += msg.html File "/mnt/hd/web/1bpm.net/ml.csound/app/handler.py", line 154, in html if len(self.article.attachments) > 0: File "/mnt/hd/web/1bpm.net/ml.csound/app/handler.py", line 144, in article self.parsed_article = ParsedMessage(msg) File "/mnt/hd/web/1bpm.net/ml.csound/app/handler.py", line 39, in __init__ self.parse(msg) File "/mnt/hd/web/1bpm.net/ml.csound/app/handler.py", line 76, in parse self.text += part.get_payload(decode=True).decode(charset) File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode bytes in position 415-416: unexpected end of data