Commit b9ab69c9 authored by Nicolas Delaby's avatar Nicolas Delaby

gcd /home/nicolas/Desktop/docCRMA/zeoet xupdate in UTF-8

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15802 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d091d32f
......@@ -462,7 +462,7 @@ class XMLSyncUtilsMixin(SyncCode):
attr_version.value = '1.0'
xupdate_doc.documentElement.setAttributeNode(attr_ns)
xupdate_doc.documentElement.setAttributeNode(attr_version)
xupdate = xupdate_doc.toxml()
xupdate = xupdate_doc.toxml('utf-8')
#omit xml declaration
xupdate = xupdate[xupdate.find('<xupdate:modifications'):]
return xupdate
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment