diff --git a/scripts/StyleSelectorXL.py b/scripts/StyleSelectorXL.py index 92186e4..429b7c8 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: