I use lxml to read the xml file and change a few details. However, at startup, I found that even if I just use lxml to read the file, then write it again, as shown below:
fil='iTunes Music Library.XML'
tre=etree.parse(fil)
tre.write('temp.xml')
I find Queensrÿche converted to Queensrÿche. Does anyone know how to fix this?
source
share