M y    b r a i n    h u r t s  !                                           w e                 r e a l l y                 t h i n k                   w h a t                y o u             k n o w

28 October 2009

Entering special characters in Linux

Occasionally there is a need to enter special characters which are not on the keyboard, for example, an M-dash, ("—") or and N-dash ("–").

This solution works on all recent xorg versions, so it should work on all modern Linux distros.

  1. Press Ctr+Shift+U.
  2. Release U while still holding Ctr+Shift.
  3. Enter the four digit character code, e.g. 2013 for an m-dash, or 2014 for a n-dash.
Some special characters:
Unicode character code (HEX)
Special Character
2013 – (en-dash)
— (em-dash)


You can find a list of some character codes here:

No comments :

Post a Comment