diff --git a/.github/scripts/generate_patches_readme.py b/.github/scripts/generate_patches_readme.py index 67839e634..0dc16cbe7 100644 --- a/.github/scripts/generate_patches_readme.py +++ b/.github/scripts/generate_patches_readme.py @@ -33,7 +33,7 @@ if "/" not in repo_full: owner, repo = repo_full.split("/", 1) -with open(json_path) as f: +with open(json_path, encoding="utf-8") as f: data = json.load(f)