mirror of https://github.com/rust-lang/rust.git
Encode json files with UTF-8
This commit is contained in:
parent
f6e6ddc09d
commit
e46fc9d1d9
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue