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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/bump_changelog.py b/script/bump_changelog.py
index be8d00a1..2745d0ce 100644
--- a/script/bump_changelog.py
+++ b/script/bump_changelog.py
@@ -30,7 +30,7 @@ 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: