Serhiy Storchaka added the comment: And here is a patch for 2.7. ---------- Added file: http://bugs.python.org/file32204/utf7_errors-2.7.patch _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue19279> _______________________________________