Closed MagicCodess closed 2 years ago
hi @brimoor :), I think the graceful way for this is to detect the json file encoding, in this way users don't need to change their locale encoding which may cause some errors in their other apps. I have committed some new codes which using chardet to detect file encoding, thanks for your reviewing.
Different language platform especially in windows may cause error here, read json file with utf-8 decoder might work better.