From a5d6eff47bf527036c9eaea99d3647eeb8be8039 Mon Sep 17 00:00:00 2001 From: = Date: Tue, 4 Jul 2023 09:41:26 +0800 Subject: [PATCH] Declare the encoding of README.md as UTF-8 in /scripts/pypi/setup.py --- scripts/pypi/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pypi/setup.py b/scripts/pypi/setup.py index 0af93b01e1e..5c997abdca9 100644 --- a/scripts/pypi/setup.py +++ b/scripts/pypi/setup.py @@ -147,7 +147,7 @@ def run( def main() -> None: - with open("README.md") as f: + with open("README.md", encoding="UTF-8") as f: long_description = f.read() run(