-
-
Notifications
You must be signed in to change notification settings - Fork 270
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels