Rollup merge of #89364 - hkmatsumoto:encode-json-with-utf-8, r=Mark-Simulacrum
rustdoc-json: Encode json files with UTF-8 Currently, `check_missing_items.py` malfunctions when the index contains some letters like emojis. Related to #89360.
This commit is contained in:
commit
27b84a92c6
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
||||||
import sys
|
import sys
|
||||||
import json
|
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):
|
def get_local_item(item_id):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue