when I add a new txt, it was wrong like this:
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\86152\AppData\Local\Programs\Python\Python39\lib\tkinter_init_.py", line 1885, in call
return self.func(*args)
File "C:\Users\86152\Desktop\YEDDA-py3\YEDDA.py", line 251, in onOpen
text = self.readFile(fl)
File "C:\Users\86152\Desktop\YEDDA-py3\YEDDA.py", line 262, in readFile
text = f.read()
File "C:\Users\86152\AppData\Local\Programs\Python\Python39\lib\codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc1 in position 14: invalid start byte
how can I solve the problem?