I am using python to parse a JSON file, I know it is because of this ¥,
that I got this error when I was using json.loads
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa5 in position 106:
invalid start byte
But how do I get around it? Do I decode and encode again?
¥ is the Chinese currency sign, but I am not sure which code category it belongs to.
Thanks!
update:
====================
I think my question should be, If you see this symbol, how do you guess the encoding.
An answer to this question maybe:
If you see ¥, then "utf-8" won't work, try "latin-1" instead. Is this understanding correct?