From 5b41d2f2190d08a433bb7d03e7940202db4e4200 Mon Sep 17 00:00:00 2001 From: luojian Date: Fri, 10 Oct 2025 23:43:49 +0800 Subject: [PATCH] utf-8 --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 51f6177..5ba2a11 100644 --- a/main.py +++ b/main.py @@ -22,7 +22,7 @@ if __name__ == '__main__': print(f"输入的配置文件不存在 {config_path}") sys.exit(0) - context = Context.from_json(open(config_path, "r").read()) + context = Context.from_json(open(config_path, "r", encoding="UTF-8").read()) if SystemUtils.is_windows(): context.project_original_path = context.project_original_path.replace("/", os.sep)