Menu

#1 DANI Can not work with accented letters or another characters that requires two key presses

DANI Lessons
open
nobody
None
2013-06-15
2013-06-15
No

If you create a lesson with accented characters in the file work.txt (example: á, é, í, ó, ú), DANI will not work with these letters.

The reason is because the user must press two keys to write an accented letter, and DANI only recognizes a single key. For example, to write the á letter, the user must press, first, the accent key (code number 239), then, the A letter (code number 97) and the result is encoded with the code number 160. When the user presses the accent key, Dani will not recognizes it like a valid character, because when DANI extracts the words, it will wait a letter, no an accent. For example, in the case of the á, DANI will wait until the user press the key with the code number 160, and it will mark as wrong if the user presses the accent or another key.

It happens in other languages with characters like tildes. I will research how to fix it in future.

Discussion

Anonymous
Anonymous

Add attachments
Cancel