~/rpscrape/scripts (master)
$ python racecards.py today
Traceback (most recent call last):
File "racecards.py", line 404, in
main()
File "racecards.py", line 400, in main
f.write(dumps(races).decode('utf-8'))
File "C:\Users\garry\AppData\Local\Programs\Python\Python38\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\x96' in position 99804: character maps to
Morning,
Trying to run the racecards.py for today:
~/rpscrape/scripts (master) $ python racecards.py today Traceback (most recent call last): File "racecards.py", line 404, in
main()
File "racecards.py", line 400, in main
f.write(dumps(races).decode('utf-8'))
File "C:\Users\garry\AppData\Local\Programs\Python\Python38\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\x96' in position 99804: character maps to