'charmap' codec can't decode byte 0x90 Fehler - Help?
Verfasst: Mittwoch 30. März 2022, 07:30
Hi,
mein Skript läuft aktuell an folgender Stelle:
book = xlwt.Workbook(encoding="utf-8")
sheet1 = book.add_sheet("Results")
in folgenden Fehler:
Traceback (most recent call last):
File "C:\Program Files\Python38\xxx_Auswertung.py", line 25, in <module>
line = file1.readline()
File "C:\Program Files\Python38\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 593: character maps to <undefined>
>>>
Könnt ihr mir helfen?
LG
mein Skript läuft aktuell an folgender Stelle:
book = xlwt.Workbook(encoding="utf-8")
sheet1 = book.add_sheet("Results")
in folgenden Fehler:
Traceback (most recent call last):
File "C:\Program Files\Python38\xxx_Auswertung.py", line 25, in <module>
line = file1.readline()
File "C:\Program Files\Python38\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 593: character maps to <undefined>
>>>
Könnt ihr mir helfen?
LG