Feb-27-2020, 08:41 AM
Thanks, that works now. However, if the JSON file is saved as UTF-8 encoding, it will not read the file, the scripts throws up the following message
invalid json: 'charmap' codec can't decode byte 0x81 in position 145717: character maps to <undefined>
I also discovered that if I enter (python -m json.tool "C:\Engineering\test2\assetLink_tr-TR.json") on the CMD line, it works as what I am looking for. But I would still like to find out why the script does not work on UTF-8 JSON files.
Thanks a lot for all the help
Bella
invalid json: 'charmap' codec can't decode byte 0x81 in position 145717: character maps to <undefined>
I also discovered that if I enter (python -m json.tool "C:\Engineering\test2\assetLink_tr-TR.json") on the CMD line, it works as what I am looking for. But I would still like to find out why the script does not work on UTF-8 JSON files.
Thanks a lot for all the help
Bella