How to deal with not well-formed character in xml file with elementtree in python

mano1709

New Member
I'm parsing the xml files encoded with \[code\]utf-16\[/code\] using \[code\]ElementTree.parse\[/code\] function.The program would break down when the file contains some not well-formed characters such as \[code\]
 
Back
Top