supports only ASCII characters
Opened this issue · 0 comments
tomatoma78 commented
Many languages need charcters not included in the ASCII table, such as òàìèéù.
Line 111 of main.py:
text = open(text_path, encoding="ascii").read()
encoding could be changed to "utf-8"?
Some modifications are then needed to the file ui.py.
win.keypad(True)
might be needed in ui.py (after the line win = curses.initscr()
) to detect additional keyboard keys.
key = win.getkey()
might have to be replaced by key = win.getch()
(or other commands).
Additional code might be needed to decode the additional keys (this might be language dependant)