Difference between revisions of "Unicode support"

From WikEmacs
Jump to: navigation, search
Line 1: Line 1:
 
= Useful Keybindings =
 
= Useful Keybindings =
  
; {{CommandKeys|ucs-insert}}
+
; {{CommandKeys|C-x 8 RET|ucs-insert}}
: Input a unicode charcter without resorting to any of the [[Input methods]]. For example, to insert a ''snowman'' type {{CommandKeys|C-x 8 RET SNOWMAN RET}}
+
: Use this to input a unicode charcter without resorting to any of the [[Input methods]]. For example, to insert a [http://www.fileformat.info/info/unicode/char/2603/index.htm snowman] type {{CommandKeys|C-x 8 RET SNOWMAN RET}} or type {{CommandKeys|C-x 8 RET 2603 RET}}.
  
 
You know those empty blocks for characters when no suitable font is found?
 
You know those empty blocks for characters when no suitable font is found?

Revision as of 05:36, 1 April 2012

Useful Keybindings

[C-x 8 RET] (or M-x ucs-insert)
Use this to input a unicode charcter without resorting to any of the Input methods. For example, to insert a snowman type [C-x 8 RET SNOWMAN RET] (or M-x {{{2}}}) or type [C-x 8 RET 2603 RET] (or M-x {{{2}}}).

You know those empty blocks for characters when no suitable font is found?


Well Emacs 24 will show the hex code in the block. From C-h n (news):

"Enhanced support for characters with no glyphs in available fonts. If a character has no glyphs in any of the available fonts, Emacs normally displays it either as a hexadecimal code in a box or as a thin 1-pixel space. In addition to these two methods, Emacs can display these characters as empty box, as an acronym, or not display them at all. To change how these characters are displayed, customize the variable `glyphless-char-display-control'."