This comes from another post about Unicode: the Unicode Classical Greek inputter
http://users.ox.ac.uk/~tayl0010/letters_table_caretpos2.htm