Re: keyboard: fix the keyboard problem when using UTF-8 locales

2006-01-31 Thread Dmitry Timoshkov
On Tue, 2006-01-31 at 14:36 +, Robert Shearman wrote: > Then how should Fatih's problem be fixed? I don't know. It works here just fine for ru_RU.UTF-8 and XLookupString apparently doesn't return UTF-8 encoded strings on keyboard detection, X11 sends UTF-8 encoded characters with KeyPress eve

Re: keyboard: fix the keyboard problem when using UTF-8 locales

2006-01-31 Thread Robert Shearman
Dmitry Timoshkov wrote: On Tue, 2006-01-31 at 13:11 +0200, Fatih Aşıcı wrote: When using UTF-8 locale, I can't type some Turkish characters. I don't know whether it works with other languages. But it works at least in Turkish locale. + have_chars = XLookupString(&e2, bufC, 2, &ke

Re: keyboard: fix the keyboard problem when using UTF-8 locales

2006-01-31 Thread Dmitry Timoshkov
On Tue, 2006-01-31 at 13:11 +0200, Fatih Aşıcı wrote: > When using UTF-8 locale, I can't type some Turkish characters. > I don't know whether it works with other languages. > But it works at least in Turkish locale. > + have_chars = XLookupString(&e2, bufC, 2, &keysym, NULL); > + if(have_chars >