Unicode Input in Emacs

One question that had been bugging me for a while is, how does one input a character in Emacs, given its Unicode hex code?

Answer: use the ucs input method, then use uHHHH to input, where HHHH is the character’s hex code.

Unfortunately, it doesn’t look as though there’s a way to input a character by its decimal code.

Also, C-\ toggles an input method on and off, rather than cycling through a list. So if you’re writing HTML (and therefore want the default input method) with French text (for which you want the latin-1-postfix input method), but need to insert box-drawing characters (for which you need ucs), you’ll wind up using M-x set-input-method a lot.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>