diff options
-rw-r--r-- | sbdata/repo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbdata/repo.py b/sbdata/repo.py index 7fdfca3..cac0c28 100644 --- a/sbdata/repo.py +++ b/sbdata/repo.py @@ -29,7 +29,7 @@ def bare_name(name: str) -> str: def load_item(item: pathlib.Path): - with item.open('r') as fp: + with item.open('r', encoding='utf-8') as fp: data = json.load(fp) item_list[data['internalname']] = Item(data['displayname'], data['itemid'], data['internalname'], data['lore']) |