dr_jumba wrote on Mon, 27 February 2006 16:09 |
I have set 'koi8-r' everywhere in file properties, package organizer and setup for environment. Still can't type cyrillic. Output of 'locale' is the following: LANG=ru_RU.KOI8-R LC_CTYPE="ru_RU.KOI8-R" LC_COLLATE="ru_RU.KOI8-R" LC_TIME="ru_RU.KOI8-R" LC_NUMERIC="ru_RU.KOI8-R" LC_MONETARY="ru_RU.KOI8-R" LC_MESSAGES="ru_RU.KOI8-R" LC_ALL= One more thing. ide falls to core when I try to set encoding in package organizer to two or more packages simultanuosly without pressing OK button. |
Status status; int len = XmbLookupString(w.xic, &event->xkey, buff, sizeof(buff), &keysym, &status); buff[len] = 0; if(status == XLookupChars || status == XLookupBoth) chr = FromUtf8(buff, len)[0];
Status status; int len = XmbLookupString(w.xic, &event->xkey, buff, sizeof(buff), &keysym, &status); buff[len] = 0; if(status == XLookupChars || status == XLookupBoth) chr = FromUtf8(buff, len)[0];
Quote: |
Actually, I wanted to use Xutf8LookupString originally, but there is quite a lot of warnings over the net about this function... |