[issue17606] xml.sax.saxutils.XMLGenerator cannot output with the correct encoding

2013-04-02 Thread Sebastian Ortiz Vasquez
Changes by Sebastian Ortiz Vasquez : Added file: http://bugs.python.org/file29656/XMLGenerator.patch ___ Python tracker <http://bugs.python.org/issue17606> ___ ___ Pytho

[issue17606] xml.sax.saxutils.XMLGenerator cannot output with the correct encoding

2013-04-02 Thread Sebastian Ortiz Vasquez
Changes by Sebastian Ortiz Vasquez : Removed file: http://bugs.python.org/file29655/XMLGenerator.patch ___ Python tracker <http://bugs.python.org/issue17606> ___ ___ Pytho

[issue17606] xml.sax.saxutils.XMLGenerator cannot output with the correct encoding

2013-04-02 Thread Sebastian Ortiz Vasquez
Sebastian Ortiz Vasquez added the comment: Added new test and patch generated following the python development directions found on http://docs.python.org/devguide/patch.html -- type: -> crash Added file: http://bugs.python.org/file29655/XMLGenerator.pa

[issue17606] BUG: XMLGenerator cannot output with the correct encoding

2013-03-31 Thread Sebastian Ortiz Vasquez
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 --

[issue1470548] Bugfix for #1470540 (XMLGenerator cannot output UTF-16 or UTF-8)

2013-03-31 Thread Sebastian Ortiz Vasquez
Sebastian Ortiz Vasquez added the comment: I have been working with this in order to generate an RSS feed using web2py. I found, XMLGenerator method does not validate if is an unicode or string type, and it does not encode accord the encoding parameter of the XMLGenerator. I added changed the