Encoding Chinese characters to open JSON file in python
Encoding Chinese characters to open JSON file in python Question: I am unable to open a json file containing chinese and english characters. I have tried using- with open(‘.//train//chess.json’) as f: d = json.load(f, encoding = "UTF-8") I have also tried other encodings (Latin-1, UTF-16, UTF-32, BIG5, GB) too but none of them work. Here …
Total answers: 1