diff --git a/tools/release/setup_project.py b/tools/release/setup_project.py index 890af18c05..02e45dfe3f 100644 --- a/tools/release/setup_project.py +++ b/tools/release/setup_project.py @@ -46,7 +46,7 @@ def update_pyproject(version_path: str, pyproject_path: str): pyproject_data["project"]["urls"]["Release notes"] = f"https://docs.taipy.io/en/release-{version_string}/relnotes/" pyproject_data["project"]["dependencies"] = get_requirements(get_pkg_name(pyproject_path)) - with open(pyproject_path, "w") as pyproject_file: + with open(pyproject_path, "w", encoding="utf-8") as pyproject_file: toml.dump(pyproject_data, pyproject_file)