New submission from Sebastian Ortiz Vasquez: The XMLGenerator character method is unable to detect and encode using the encoding defined in the constructor.
This yields to an UnicodeEncode exception, because always tries to encode using 'ascii' as default in python 2 ---------- components: XML files: XMLGenerator.patch keywords: patch messages: 185684 nosy: Arfrever, BreamoreBoy, benjamin.peterson, doerwalter, georg.brandl, larry, loewis, neoecos, neoecos, ngrig, pitrou, python-dev, serhiy.storchaka priority: normal severity: normal status: open title: BUG: XMLGenerator cannot output with the correct encoding versions: Python 2.6, Python 2.7 Added file: http://bugs.python.org/file29640/XMLGenerator.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17606> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com