]> git.lizzy.rs Git - rust.git/commitdiff
Encode json files with UTF-8
authorHirochika Matsumoto <git@hkmatsumoto.com>
Wed, 29 Sep 2021 15:11:14 +0000 (00:11 +0900)
committerHirochika Matsumoto <git@hkmatsumoto.com>
Wed, 29 Sep 2021 15:11:14 +0000 (00:11 +0900)
src/etc/check_missing_items.py

index 7572b8c6f4a8c761b9d14fede1f5fcaae3986b57..7ed317c778fceaa638975276e22e51153afe6c6a 100644 (file)
@@ -9,7 +9,7 @@
 import sys
 import json
 
-crate = json.load(open(sys.argv[1]))
+crate = json.load(open(sys.argv[1], encoding="utf-8"))
 
 
 def get_local_item(item_id):