diff --git a/worlds/smz3/TotalSMZ3/Text/Texts.py b/worlds/smz3/TotalSMZ3/Text/Texts.py index df60d19c..247ff92b 100644 --- a/worlds/smz3/TotalSMZ3/Text/Texts.py +++ b/worlds/smz3/TotalSMZ3/Text/Texts.py @@ -17,7 +17,7 @@ class Texts: @staticmethod def ParseTextScript(resource: str): - with open(resource, 'r') as file: + with open(resource, 'r', encoding="utf-8-sig") as file: return [text.rstrip('\n') for text in file.read().replace("\r", "").split("---\n") if text] scripts: Any = ParseYamlScripts.__func__(text_folder + "/Scripts/General.yaml")