Skip to content

Commit 15471e2

Browse files
committed
Update core.py
1 parent f48e24c commit 15471e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythainlp/corpus/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ def download(
378378

379379
# check if corpus is available
380380
if name in corpus_db:
381-
with open(corpus_db_path(), "r", encoding="utf-8") as f:
381+
with open(corpus_db_path(), "r", encoding="utf-8-sig") as f:
382382
local_db = json.load(f)
383383

384384
corpus = corpus_db[name]

0 commit comments

Comments
 (0)