Skip to content

Commit

Permalink
Merge pull request #588 from domdfcoding/toml-utf8
Browse files Browse the repository at this point in the history
Use UTF-8 encoding when reading pyproject.toml
  • Loading branch information
messense authored Jul 12, 2021
2 parents 8db0e03 + 787f4ea commit b992282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maturin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@


def get_config() -> Dict[str, str]:
with open("pyproject.toml") as fp:
with open("pyproject.toml", encoding="utf-8") as fp:
pyproject_toml = toml.load(fp)
return pyproject_toml.get("tool", {}).get("maturin", {})

Expand Down

0 comments on commit b992282

Please sign in to comment.