Skip to content

Commit b3c1dff

Browse files
committed
Open bootstrap.example.toml with the utf-8 encoding
1 parent b98a91e commit b3c1dff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ def parse_example_config(known_args, config):
593593
top_level_keys = []
594594
comment_lines = []
595595

596-
with open(rust_dir + "/bootstrap.example.toml") as example_config:
596+
with open(rust_dir + "/bootstrap.example.toml", encoding="utf-8") as example_config:
597597
example_lines = example_config.read().split("\n")
598598
for line in example_lines:
599599
if line.count("=") >= 1 and not line.startswith("# "):

0 commit comments

Comments
 (0)