[New-bugs-announce] [issue17606] BUG: XMLGenerator cannot output with the correct encoding

Sebastian Ortiz Vasquez report at bugs.python.org
Mon Apr 1 00:03:10 CEST 2013


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 <report at bugs.python.org>
<http://bugs.python.org/issue17606>
_______________________________________


More information about the New-bugs-announce mailing list