diff --git a/scripts/StyleSelectorXL.py b/scripts/StyleSelectorXL.py index e8c77a9..a3b63e0 100644 --- a/scripts/StyleSelectorXL.py +++ b/scripts/StyleSelectorXL.py @@ -11,7 +11,7 @@ stylespath = "" def get_json_content(file_path): try: - with open(file_path, 'r') as file: + with open(file_path, 'rt', encoding="utf-8") as file: json_data = json.load(file) return json_data except Exception as e: