Closed ezxuma closed 4 years ago
Please provide information to reproduce bug. Eg. Input file, OS
Input file : 5e929bbbcc6526001beebd6e.json OS : Windows 10 64 bit v1903
Oops, should've phrased that a bit better, can you provide the file as an attachment?
I had the same issue with russian language. Try to specify encoding at 5 line (for example, f = open(filename, "r", encoding="utf-8")
)
Ok, so I specified encoding in newest commit when reading the file, hopefully that fixes the problem. I'm gonna keep this thread open in case it doesn't.
It's been 6 days, I'm assuming no reply means the issue is fixed. Closing the issue!
Traceback (most recent call last): File "parser.py", line 6, in
quizInfo = json.loads(f.read())
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa6 in position 738: illegal multibyte sequence