Difference between revisions of "Unicode support"

From WikEmacs
Jump to navigation Jump to search
Line 4: Line 4:
 
: 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 {{Keys|C-x 8 RET SNOWMAN RET}} or type {{Keys|C-x 8 RET 2603 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 {{Keys|C-x 8 RET SNOWMAN RET}} or type {{Keys|C-x 8 RET 2603 RET}}.
  
You know those empty blocks for characters when no suitable font is found?
+
; {{CustomizeVariable|glyphless-char-display-control}}
 
+
: Control how characters that don't have glyphs are displayed.  Typically glyphless characters are rendered as rectangular boxes with hex numbers inside them.
 
+
: (From ''NEWS'' file) - "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'."
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'."
 

Revision as of 10:40, 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 type [C-x 8 RET 2603 RET].
M-x customize-variable RET glyphless-char-display-control
Control how characters that don't have glyphs are displayed. Typically glyphless characters are rendered as rectangular boxes with hex numbers inside them.
(From NEWS file) - "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'."