changeset 1563 | 584b6fdb949e |
parent 1505 | 5ecb16be9a3c |
child 1571 | 486f94a8032c |
--- a/xmlclass/xmlclass.py Wed Nov 02 14:23:24 2016 +0300 +++ b/xmlclass/xmlclass.py Tue Nov 08 18:06:30 2016 +0300 @@ -1754,7 +1754,7 @@ return tree, None def Dumps(self, xml_obj): - return etree.tostring(xml_obj) + return etree.tostring(xml_obj, encoding='utf-8') def Loads(self, xml_string): return etree.fromstring(xml_string, self)