I write some string on another language and save it to xml file, but the strings looks like
# A part of the xml: recipientname="Калик Мамадо.."
tree.write(new_file_name) # Tree is a xml (ElementTree.parse(file))
with open(new_file_name, 'r') as xml_document:
xml = xml_document.read().replace('\n', '')
How i can decode it to normal string?