You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "C:\Users\kralAhmet\Desktop\university-domains-list-master\filter.py", line 84, in
main()
File "C:\Users\kralAhmet\Desktop\university-domains-list-master\filter.py", line 71, in main
src = json.load(src_file)
File "C:\Users\kralAhmet\anaconda3\lib\json_init_.py", line 293, in load
return loads(fp.read(),
File "C:\Users\kralAhmet\anaconda3\lib\encodings\cp1254.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 341609: character maps to
When i do this it seems like ok:
with open("./world_universities_and_domains.json",encoding="utf8") as src_file
with open("./filtered_world_universities_and_domains.json", "w",encoding="utf8") as dest_file:
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "C:\Users\kralAhmet\Desktop\university-domains-list-master\filter.py", line 84, in
main()
File "C:\Users\kralAhmet\Desktop\university-domains-list-master\filter.py", line 71, in main
src = json.load(src_file)
File "C:\Users\kralAhmet\anaconda3\lib\json_init_.py", line 293, in load
return loads(fp.read(),
File "C:\Users\kralAhmet\anaconda3\lib\encodings\cp1254.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 341609: character maps to
with open("./world_universities_and_domains.json",encoding="utf8") as src_file
with open("./filtered_world_universities_and_domains.json", "w",encoding="utf8") as dest_file:
The text was updated successfully, but these errors were encountered: