diff --git a/product/ERP5Type/XMLExportImport.py b/product/ERP5Type/XMLExportImport.py index e0c6c5208fcfe34ad7de3347649368cf198b5bb4..7a7cac22ba9725f6ef40aa96deb4f440ce06165f 100755 --- a/product/ERP5Type/XMLExportImport.py +++ b/product/ERP5Type/XMLExportImport.py @@ -178,6 +178,9 @@ def Base_asXML(object, ident=0): xml_unicode = xml else: xml_unicode = unicode(xml,encoding='iso-8859-1') + # This following character is quite strange, and parseString + # fails, but when printed, it show a '\n' and a space, so I replace + xml_unicode = xml_unicode.replace('\x0c','\n ') return xml_unicode.encode('utf-8') def Folder_asXML(object, ident=0):