Re: I18n text input

2010-01-21 Thread Alan Coopersmith
Russell Shaw wrote: There is mention of utf8 functions in X Version 11, Release 6.4 docs: http://lesstif.sourceforge.net/doc/Xlib/spec/xlib.html That was probably generated from the XFree86 version, since those functions didn't exist in the X Consortium/Open Group X11R6.4 official release.

Re: I18n text input

2010-01-19 Thread Russell Shaw
Glynn Clements wrote: Russell Shaw wrote: For functions XkbLookupKeySym(), XLookupString(), XKeycodeToKeysym(), XKeysymToString etc, how can i tell if the keysym is a graphic printable character like a, or a control character such as Left (XK_Left) ? I need to tell automatically if it's a

Re: I18n text input

2010-01-19 Thread Glynn Clements
Russell Shaw wrote: Unless you're planning on spending the next few months learning how text entry works for languages other than English, I'd recommend using a GUI toolkit rather than trying to do it using bare Xlib. Or at least steal the code from such a toolkit. I understand

I18n text input

2010-01-18 Thread Russell Shaw
Hi, For functions XkbLookupKeySym(), XLookupString(), XKeycodeToKeysym(), XKeysymToString etc, how can i tell if the keysym is a graphic printable character like a, or a control character such as Left (XK_Left) ? I need to tell automatically if it's a normal unicode character that can be printed

Re: I18n text input

2010-01-18 Thread Glynn Clements
Russell Shaw wrote: For functions XkbLookupKeySym(), XLookupString(), XKeycodeToKeysym(), XKeysymToString etc, how can i tell if the keysym is a graphic printable character like a, or a control character such as Left (XK_Left) ? I need to tell automatically if it's a normal unicode