On 19.12.2010, at 23:01, [email protected] wrote: >> - keystrokes are encoded in 16 bit, but Unicode may need 24 bits and more >> - shortcuts are still ASCII only - they should be USC4 plus modifier. > > Though shortcuts probably need to map to single keyboard keys, as I > guess a composed key would be hard to use as a shortcut, and languages > that are entered via Input Methods probably can't use the IM to trigger > shortcuts. > So, I guess what I'm saying is that, in practice, the keystrokes are > limited to what's on the physical keypad, which is probably going to be > a small number... Though once the key is in the system, I guess it does > need to be in some Unicode encoding (utf8 rather than usc4 though, perhaps?)
Individual characters are usually represented in USC4 because they take a maximum of 24bits and fit into an unsigned int. utf8 OTOH may be one byte long, but may also be six bytes long... . On the German keyboard, there are dedicated keys for Ä Ö Ü (replacing [ and ] on the US keyboard, etc.). It should be possible to hit Ctrl-Ü to select the menu item "Überholen" (or whatever). Well, I did not intent to find solutions here. I just meant to give an example for stuff that needs to be decided for a major release ;-) _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
