mkogg.py: Fix 'self.get_mp4_metadata(self, source)'
[blog.git] / posts / UTF-8.mdwn
1 [[!meta  title="UTF-8"]]
2 [[!meta  date="2008-07-01 13:11:59"]]
3 Not being able to print the *é* in fiancée in the last post was bugging me,
4 so I thought I'd figure out how to enter UTF-8 characters.  The short answer
5 is that the right `Alt` button on my keyboard is perhaps the
6 [AltGr key](http://en.wikipedia.org/wiki/AltGr_key).  To produce an *é*, I
7 pressed `AltGr i`, which I found simply by trying all the various `AltGr`
8 combinations.
9
10 I'd prefer [this two stroke system](http://wiki.linuxquestions.org/wiki/Accented_Characters), since it has less to remember, but `AltGr ;` produces *»*,
11 without waiting for another keystroke.  I probably need to reconfigure
12 my keyboard to get this to work.
13
14 There's a reconfiguring-for-X example
15 [here](http://www.cl.cam.ac.uk/~mgk25/unicode.html).  What if you aren't in an
16 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`
17 looks like a good source of info, but I'll put that on hold for now and get
18 back to work :p.  There is also a [kbd fork](http://lct.sourceforge.net/),
19 which I'll look into if the standard `kbd` configuration turns out to be too
20 complicated.  Ooh, [Marjan Parsa](http://www.maruko.ca/i18n/) has a nice
21 mini-HOWTO.  Alright, *now* back to work...
22
23 [[!tag tags/linux]]