Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am familiar with inserting an ASCII character into a text document by using 'Alt+ASCII code' on the NumPad keys (e.g. Alt+130 inserts an é character).

Is there a similar way to insert a Unicode character via the keyboard using the unicode value given in Windows Character Map?

alt text

share|improve this question
See also "How do you type Unicode characters using hexadecimal codes?" at superuser.com/questions/13086/… – Arjan Sep 27 '09 at 11:39

3 Answers

up vote 30 down vote accepted

According John D. Cook there are 3 ways:

  1. In Microsoft Word you can insert Unicode characters by typing the hex value of the character then typing Alt-x. You can also see the Unicode value of a character by placing the cursor immediately after the character and pressing Alt-x. This also works in applications that use the Windows rich edit control such as WordPad and Outlook.
  2. Another approach which works with more applications is as follows. First create a registry key under HKEY_CURRENT_USER of type REG_SZ called EnableHexNumpad, set its value to 1, and reboot. Then you can enter Unicode symbols by holding down the Alt key and typing the plus sign on the numeric keypad followed by the character value. When you release the Alt key, the symbol will appear. This approach worked with most applications I tried, including Firefox and Safari, but did not with Internet Explorer.
  3. Another option is to install the UnicodeInput utility. This worked with every application I tried, including Internet Explorer. Once installed, the window below pops up whenever you hold down the Alt key and type the plus sign on the numeric keypad. Type the numeric value of the character in the box, click the Send button, and the character will be inserted into the window that had focus when you clicked Alt-plus.

I would go for the second option because it integrates nicely with your current usage.

share|improve this answer
4  
Option 2 works great, thanks. BTW, the location of the new string key was HKCU/Control Panel/Input Method/EnableHexNumpad – pelms Sep 27 '09 at 9:08

If you're using Chrome or Safari, you can open up the console with Ctrl+Shift+I (or Cmd+Alt+I on Mac) and type copy('\uNNNN'); – where the NNNN is the Unicode code after the +:

Right-to-Left Override U+202E copy('\u202e')

You can do that with Firefox, too, but you'll need Firebug.

share|improve this answer
1  
It doesn't seem to be working. Is my Google Chrome too new? I am using version 25. Typing copy('\u202e') and pressing Enter at Console prompt returns undefined. Could it be that they have changed it? – Sammy Mar 16 at 23:32
@Sammy It works, the character gets copied to the clipboard, you can paste it afterwards. – leonbloy May 15 at 20:42

If you're working with firefox, you can also install this as an addon: https://addons.mozilla.org/en-US/firefox/addon/5235

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.