Skip to content

Commit 27b84a9

Browse files
authored
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.
2 parents eeadc9d + e46fc9d commit 27b84a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/etc/check_missing_items.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import sys
1010
import json
1111

12-
crate = json.load(open(sys.argv[1]))
12+
crate = json.load(open(sys.argv[1], encoding="utf-8"))
1313

1414

1515
def get_local_item(item_id):

0 commit comments

Comments
 (0)