-
Notifications
You must be signed in to change notification settings - Fork 490
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
MacOS has broken Unicode input #652
Comments
Happening on M1 Air for me too. Would be nice if this can be fixed |
I explored this a bit. I'm on an older macbook air running Sonoma 14.1.1. It seems to want RALT modifier attached to each key, not just pressed ahead of the sequence. After enabling the OS X Unicode Hex Input keyboard (see https://en.wikipedia.org/wiki/Unicode_input#In_MacOS) it was just sending the literal hex characters that I typed. I hacked my version of Also the sequences documentation is a little misleading since it mentions There's also a question in the code about codepoints beyond 16-bit, like smiley face with codepoint |
Only working with I don't have immediate access to a KMK board, but using the Where did you see that the MacOS hex input only supports UTF-16? I couldn't find it, and am curious. But if that is a true, then the method to find the unicode code points might just need changed to force UTF-16 to make it work? |
yes exactly, you have to type the utf-16-be encoding, with leading zeros if necessary to form one or more groups of four digits. In some contexts (like GH comments) it seems to briefly show a diamond/question-mark character after the first four digits and then the desired emoji once you've finished typing the second four digits, all with alt/option held. see the second answer by Tom Gewecke for this stackoverflow question so I think it'd be a matter of taking the unicode input string and doing |
Starting with MacOS 12 (Monterey), Apple has broken raw hex unicode input
While I'm highly unsure if this issue can be fixed, I wanted an issue in the event someone else is facing the same issue.
Tested on M1 MacBook Pro runnning MacOS 12.6.1.
In MacOS unicode mode the
🍺
emoji gives1f37a
which is the corect unicode hex value, with the official hex input keyboard givingἷ
for that value.Appears in the Apple discussion board a few times with no clear fix
https://discussions.apple.com/thread/253435504
The text was updated successfully, but these errors were encountered: