-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Annoying handling of text input for character sets other than English #9
Comments
Hebrew is written from right to left, and would need some changes to the cursor behaviour too. |
I've made progress on this for English (character set 0) and German (character set 1). For English, the characters For German, the characters The remaining character sets are a work in progress, so I'll keep this issue open. |
Partial fix for #9: English (0) and German (1) key remappings.
I made a bit more progress on Hebrew (character set 6) and right-to-left input. Things seem to work, but if the user wants to enter an escape code, they must press a meta-key to get to Latin characters, which can often set off application shortcuts. |
I will also do some user testing with a friend who speaks Hebrew natively. |
Partial fix for #9. Swedish chars plus dead key input method
Now we have the dead key input method for Swedish, I should add it for German (as well as the other languages). |
When entering text in, for example, Hebrew, the keyboard events received correspond to characters positions for the Hebrew alphabet, but aren't correctly implemented in the editor. For example, on my keyboard, pressing the button marked A in Hebrew input mode yields the letter shin (ש). The code from onkeydown is 65, for the key, and the code from onkeypress is 1513, the Unicode codepoint for the letter shin.
Users constructing Hebrew pages will be unable to do so unless they use a Latin script input method, for which the keys don't even correspond to any key mapping in common use. The same problem exists for Cyrillic and, to a lesser extent, for other languages using the Latin script like Swedish and German.
The code should be adapted to interpret these keyboard events correctly when in the Hebrew character set, Cyrillic character set or others.
The text was updated successfully, but these errors were encountered: