-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
Fix Issue #330 #331
Fix Issue #330 #331
Conversation
Ignore non-valid unicode characters.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resyntax analyzed 1 file in this pull request and found no issues.
I imagine these values are generated for characters in supplementary planes. Should input handling track surrogate pairs and join them to form those characters? |
Studying the documentation [1] for UCKeyTranslate, I found:
Checking the problematic number from issue #330 :
So bit 15-14 is indeed 10. @lambduli Have you had time to experiment with DrRacket and your custom keyboard layout? Do dead keys work for you? [1] |
@soegaard I have just tried out all the characters in my custom layout. Everything works exactly as I would expect. As per dead keys — my custom layout doesn't have any. (But my standard Czech layout has two and those work just fine in DrRacket.) |
I don't think the bits described in the quoted documentation are the relevant ones. Those seem maybe part of a Meanwhile, the result is a
and then
(edited to fix off-by-1!) |
Your solution certainly looks better. @lambduli Can you change this last version? Around line 483 the code now looks like this:
And in line 429 an
|
Hi @soegaard, I am sorry for such a long delay! I had to take time off because of some deadlines and such. I am happy to try that change. I also replaced the 429th line. I tried to run DrRacket and it launched fine it also seems that all my special characters work in the editor just fine. |
Closing as fixed by #334. |
Ignore non-valid unicode characters.