Apple Intelligence is now available on iPhone, iPad, and Mac!

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mapping unicode characters to keyboard

Is there a way to map unicode characters to my standard Apple keyboard?


I want to be able to type ♯ and a ♭ sign (these are music sharp and flat characters) more quickly than by pulling up "Character Viewer."

Mac Pro

Posted on Aug 31, 2019 2:33 PM

Reply
Question marked as Top-ranking reply

Posted on Aug 31, 2019 7:39 PM

Thanks! Works like a charm.

3 replies

Aug 31, 2019 4:33 PM in response to Lycoming360

For readability, you normally use a monospaced font in the Terminal, and not regular fonts. DejaVu Sans Mono and Menlo support your sharp and flat characters, but you won't be able to enter them in the Terminal directly without using the character palette with a double-click on the character, or including the Unicode Hex Input method, added by System Preferences : Keyboard : Input Sources : [+] Others -> Unicode Hex Input. Also, [√] show input menu in menu bar.


In preparation to using Unicode Hex Input, visit System Preferences : Keyboard : Shortcuts : Input Sources, and choose [√] Select next source in input menu, and deselect Show Finder search window in the Spotlight shortcuts. Now, by pressing option+command+Spacebar, you can watch the input source icons change in the menu bar, and when you get to U+ which is the Unicode Hex Input, you can then press option key + unicode value to input the character. So for the music sharp character, it would be option+266f, and for the flat character, option+266d. When done, you cycle through option+command+Spacebar to get back to your preferred keyboard language.

Mapping unicode characters to keyboard

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.