beremiz

Parents 6e38f13d4b7b
Children 8ffd0b52c2c7
fix breaking non-latin description and comments in FBD, LD, SFC and
project settings after Undo operation
--- 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)