author | Laurent Bessard |
Wed, 29 May 2013 09:22:40 +0200 | |
changeset 1186 | 0ce4104d58ed |
parent 1185 | b36755d7c19e |
child 1187 | be891953958f |
PLCControler.py | file | annotate | diff | comparison | revisions |
--- a/PLCControler.py Wed May 29 11:09:05 2013 +0900 +++ b/PLCControler.py Wed May 29 09:22:40 2013 +0200 @@ -2209,7 +2209,7 @@ text = "<paste>%s</paste>"%text try: - tree = minidom.parseString(text) + tree = minidom.parseString(text.encode("utf-8")) except: return _("Invalid plcopen element(s)!!!") instances = []