mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
Specify the encoding as UTF-8 when opening the MFC dictionary file in the Python script.
This commit is contained in:
parent
df1c24c42a
commit
08fd383713
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ for sec in range(NUM_SECTORS):
|
|||
|
||||
if os.path.isfile(DICT_DEF_PATH):
|
||||
print(f"Loading {DICT_DEF}")
|
||||
with open(DICT_DEF_PATH, 'r') as file:
|
||||
with open(DICT_DEF_PATH, 'r', encoding='utf-8') as file:
|
||||
for line in file:
|
||||
if line[0] != '#' and len(line) >= 12:
|
||||
DEFAULT_KEYS.add(line[:12])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue