Skip to content

Instantly share code, notes, and snippets.

@chriselgee
Last active February 14, 2020 13:22
Show Gist options
  • Save chriselgee/c347e6e036ff83720f309bb514457d62 to your computer and use it in GitHub Desktop.
Save chriselgee/c347e6e036ff83720f309bb514457d62 to your computer and use it in GitHub Desktop.

Typing special characters:

  • In Windows, the simplest way to type special characters is with the Character Map, or charmap.exe. Scroll through, double-click the ° symbol you need, click Copy, and you can Paste it into your application. Notice though - while it's selected, there are codes at the bottom. On the left is the Unicode code, U+00B0. This means that the system stores the degree character as hex 00 and B0. (Who cares? We'll come back to it.) On the right, you see Alt-0176. This means that when NumLock is turned on, you can hold Alt and type 0176 on the number pad and get a degree symbol.
  • In Linux, we need that Unicode code. Press Ctrl-Shift-U, then type 00B0 and hit enter or space or whatever. The ° appears!

If you need to type something you haven't found in charmap, you can Google it. The lobster emoji, for example, is apparently 1F99E. So, on my Linux system, I hit Ctrl-Shift-U, enter the code, and get 🦞!

Want to type a lobster in Win 10? If you're up-to-date on patches, you can hold Win and press . or ; to get the emoji picker.

Mac user? See if this helps: https://poynton.ca/notes/misc/mac-unicode-hex-input.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment