Commit d3baa434 authored by Eric Duminil's avatar Eric Duminil
Browse files

Make sure regionchooser also works with accents on Windows

parent 8b7cf643
Showing with 1 addition and 1 deletion
+1 -1
......@@ -163,7 +163,7 @@ def extract_region(output_dir: Path, location_name: str, wkt_str: str, simstadt_
with open(wkt_path, 'w') as f:
f.write(local_wkt)
with open(params_path, 'w') as f:
with open(params_path, 'w', encoding='utf-8') as f:
f.write("--input\n")
f.write(','.join(f"{gml.as_posix()}" for gml in gml_inputs))
f.write("\n")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment