小编mrd*_*y34的帖子

Python从JSON重音字符读取错误

我的"Theres loads of adventures to be had here;\nYou'll get your own Kobémon\nand get to catch more!".JSON 文件中有一个这样的字符串 ( ),当我从它读取到 python 文件和 Tkinter 文本框时,我得到"é"而不是é. 有没有办法阻止这种情况。我使用这个阅读 .JSON :(self.Lines = json.load(open("Data/Lines.json")))

python json diacritics decoding

3
推荐指数
1
解决办法
1596
查看次数

标签 统计

decoding ×1

diacritics ×1

json ×1

python ×1