Skip to content

Commit e843e02

Browse files
authored
Use encoding="utf-8" in open. (#773)
1 parent 5aa5a6f commit e843e02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
def read(rel_path: str) -> str:
1111
here = os.path.abspath(os.path.dirname(__file__))
12-
with open(os.path.join(here, rel_path)) as fp:
12+
with open(os.path.join(here, rel_path), encoding="utf-8") as fp:
1313
return fp.read()
1414

1515

0 commit comments

Comments
 (0)