summaryrefslogtreecommitdiff
path: root/script/bump_changelog.py
diff options
context:
space:
mode:
Diffstat (limited to 'script/bump_changelog.py')
-rw-r--r--script/bump_changelog.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/bump_changelog.py b/script/bump_changelog.py
index 278b627da..41c8c3c8a 100644
--- a/script/bump_changelog.py
+++ b/script/bump_changelog.py
@@ -33,10 +33,10 @@ def main() -> None:
logging.debug(f"Launching bump_changelog with args: {args}")
if "dev" in args.version:
return
- with open(DEFAULT_CHANGELOG_PATH) as f:
+ with open(DEFAULT_CHANGELOG_PATH, encoding="utf-8") as f:
content = f.read()
content = transform_content(content, args.version)
- with open(DEFAULT_CHANGELOG_PATH, "w") as f:
+ with open(DEFAULT_CHANGELOG_PATH, "w", encoding="utf-8") as f:
f.write(content)