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
========== RESTART: C:\Users\hlide\Documents\Arduino\TZZ80\read_csv.py =========
Traceback (most recent call last):
File "C:\Users\hlide\Documents\Arduino\TZZ80\read_csv.py", line 193, in <module>
f.write("{}\n".format(BitfieldASCII.from_dict(
File "C:\Users\hlide\AppData\Local\Programs\Python\Python311\Lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 66-130: character maps to <undefined>
Using IDLE.
The text was updated successfully, but these errors were encountered:
It seems the only solution I have is to open the file in UTF-8 mode (generating a .h file). It looks like Windows does not recognize those characters if not generated from UTF-8.
Using IDLE.
The text was updated successfully, but these errors were encountered: