[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Cyrillics and GTK...



Hi,

I was wanting to write GTK program which allowed Cyrillic input.
I asked Owen to give me some clues, but I have done something wrong
and/or the suggestions did not work. Perhaps there is someone on the
list who has done something like this which can help me?

I have looked through a couple Russification web pages, and nothing
seems to work for me.

Any help is appreciated.

Owen Taylor wrote:
> If your C library supports the cyrillic locales, it should be as
> simple as setting your LANG environment to ru_RU (which gives you
> iso-8859-5 encoding), or ru_RU.KOI8, then running a GTK+ program that
> calls gtk_set_locale() (See gtk/testgtk.c)
> 
I do I know if my library supports the locales?
I have ru_RU in /usr/share/i18n/locales/.
When I set my LANG variable I get this output for
testgtk program:

Missing charsets in FontSet creation
        ISO8859-5
        ISO8859-5

> You'll also need to have a fontset that supports the appropriate
> locale - to get this edit gtk/testgtkrc and change style "default"
xfontsel shows the Cyrillic letters (cronyx fonts).


Regards,

  Jason Thomas Murray
  lather@electrografix.com
  http://poseidon.electrografix.com/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]