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
When I save an edited file it immediately closes and gives some exception:
Traceback (most recent call last):
File "D:\Python39\lib\site-packages\ui\mainwin.py", line 520, in saveAs
self.editor.save(self.file.encode("utf-8"))
File "D:\Python39\lib\site-packages\CodeEditor\editor.py", line 366, in save
outfile.write(self.text())
File "D:\Python39\lib\encodings\cp1251.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 491-495: character maps to
The text was updated successfully, but these errors were encountered:
When I save an edited file it immediately closes and gives some exception:
Traceback (most recent call last):
File "D:\Python39\lib\site-packages\ui\mainwin.py", line 520, in saveAs
self.editor.save(self.file.encode("utf-8"))
File "D:\Python39\lib\site-packages\CodeEditor\editor.py", line 366, in save
outfile.write(self.text())
File "D:\Python39\lib\encodings\cp1251.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 491-495: character maps to
The text was updated successfully, but these errors were encountered: