Skip to content

Commit

Permalink
Where is It? XML Report decoding - proof of concept (encoding handling)
Browse files Browse the repository at this point in the history
  • Loading branch information
xy committed Jan 19, 2024
1 parent fb001d4 commit 8e131f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1845,7 +1845,7 @@ def wii_paths_dict_add(path_elem,curr_dict_ref):
return curr_dict_ref[path_elem]

for import_filename in import_filenames:
with open(import_filename,"rt") as f:
with open(import_filename,"rt", encoding='utf-8', errors='ignore') as f:
for line in f:
if match := re_obj_item.search(line):
in_item=True
Expand Down

0 comments on commit 8e131f4

Please sign in to comment.