HK: extractor now needs to check for BOM

This commit is contained in:
Fabian Dill 2022-06-15 03:26:54 +02:00 committed by Fabian Dill
parent 65d213c494
commit 74fe03414c
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ def put_digits_at_end(text: str) -> str:
def hk_loads(file: str) -> typing.Any:
with open(file) as f:
with open(file, encoding="utf-8-sig") as f:
data = f.read()
new_data = []
for row in data.split("\n"):