From a6f52d46d6971fbfd279d104cee66d5c9ad9af43 Mon Sep 17 00:00:00 2001
From: Mc-muffin <8714476+Mc-muffin@users.noreply.github.com>
Date: Tue, 13 Feb 2024 09:03:22 -0500
Subject: [PATCH] Update ToolsTOR.py
---
pythonlib/games/ToolsTOR.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pythonlib/games/ToolsTOR.py b/pythonlib/games/ToolsTOR.py
index 0e8e624..fd22cab 100644
--- a/pythonlib/games/ToolsTOR.py
+++ b/pythonlib/games/ToolsTOR.py
@@ -458,7 +458,7 @@ class ToolsTOR(ToolsTales):
new_text_offsets = dict()
#Read the XML for the corresponding THEIRSCE
- with open(xml, "r") as xmlFile:
+ with open(xml, "r", encoding="utf-8") as xmlFile:
root = etree.fromstring(xmlFile.read().replace("", ""), parser=etree.XMLParser(recover=True))
# root = tree.getroot()