Skip to content

Commit 7ce36b6

Browse files
authored
Read files as utf8 (#61)
1 parent 9e2a60a commit 7ce36b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/petab_gui/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ def process_file(filepath, logger):
613613
for sep in separators:
614614
# read the first line of the file
615615
try:
616-
with open(filepath, "r") as file:
616+
with open(filepath, "r", encoding="utf-8") as file:
617617
header = file.readline().strip().split(sep)
618618
if len(header) > 1:
619619
separator = sep

0 commit comments

Comments
 (0)