Got this error when converting my music sheet
File "C:\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 characters in position 1992-1994: character maps to
Encode the solution for solve this
with open(final_path, 'w', encoding='utf-8') as result_file:
Got this error when converting my music sheet
File "C:\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 characters in position 1992-1994: character maps to
Encode the solution for solve this
with open(final_path, 'w', encoding='utf-8') as result_file: