From: W. Trevor King Date: Tue, 1 Jul 2008 17:11:59 +0000 (+0000) Subject: Importing NanoBlogger post "UTF-8" X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0c637ec6297d860e551f61b59d12c702a5811d7d;p=blog.git Importing NanoBlogger post "UTF-8" --- diff --git a/posts/UTF-8.mdwn b/posts/UTF-8.mdwn new file mode 100644 index 0000000..6212c13 --- /dev/null +++ b/posts/UTF-8.mdwn @@ -0,0 +1,23 @@ +[[!meta title="UTF-8"]] +[[!meta date="2008-07-01 13:11:59"]] +Not being able to print the *é* in fiancée in the last post was bugging me, +so I thought I'd figure out how to enter UTF-8 characters. The short answer +is that the right `Alt` button on my keyboard is perhaps the +[AltGr key](http://en.wikipedia.org/wiki/AltGr_key). To produce an *é*, I +pressed `AltGr i`, which I found simply by trying all the various `AltGr` +combinations. + +I'd prefer [this two stroke system](http://wiki.linuxquestions.org/wiki/Accented_Characters), since it has less to remember, but `AltGr ;` produces *»*, +without waiting for another keystroke. I probably need to reconfigure +my keyboard to get this to work. + +There's a reconfiguring-for-X example +[here](http://www.cl.cam.ac.uk/~mgk25/unicode.html). What if you aren't in an +X environment? Ah, [Bruno Haible](ftp://ftp.ilog.fr/pub/Users/haible/utf8/Unicode-HOWTO-2.html) points out the `kbd` package with `kbd_mode`. `man kbd_mode` +looks like a good source of info, but I'll put that on hold for now and get +back to work :p. There is also a [kbd fork](http://lct.sourceforge.net/), +which I'll look into if the standard `kbd` configuration turns out to be too +complicated. Ooh, [Marjan Parsa](http://www.maruko.ca/i18n/) has a nice +mini-HOWTO. Alright, *now* back to work... + +[[!tag linux]]