GNOME Bugzilla – Bug 169178
gtk+-1.2.10 and utf8 locale. russian text in interface is unreadable.
Last modified: 2005-03-04 17:19:48 UTC
Please describe the problem: Hello. I've tried to ask about this on mailing list about two monthes ago, but still no one answered. But in russian forum somebody confirmed that the problem exist. So I bug report. Everything worked perfectly, until I upgraded my X server to 6.8.2 and so freetype-2.1.9 (I don't know how they are binded, but I think X uses freetype to render letters). Now all gtk+1.2.10 applications do not show fonts properly in ru_RU.UTF-8 locale. Not empty menus, but some strange symbols and english letters instead of russian words. The length of words is twice longer then it should. ***For example word "Свойства" looks like "'3'S'`'['c'd'S'Q"!!!*** Seems that gtk+ do not know that the text in menu is utf8 encoded. When I start for example xmms I have this in console: Gdk-WARNING **: Missing charsets in FontSet creation Gdk-WARNING **: JISX0208.1983-0 Gdk-WARNING **: KSC5601.1987-0 Gdk-WARNING **: GB2312.1980-0 Gdk-WARNING **: JISX0201.1976-0 [reapeated two or more times...] When I start an application like this: env LC_ALL=ru_RU.KOI8-R gnucash this allows to write russian letters in gnucash and to have readable russian interface. Of course I can not avoid bad russian filenames, that looks very awesome.:) Steps to reproduce: I think somethink like this. Install xorg-6.8.2 and start xmms in locale ru_RU.UTF-8, somethink like this: env LC_ALL=ru_RU.UTF-8 xmms Actual results: Interface is unreadable. Expected results: Does this happen every time? Other information: This is my gtkrc file. xfontsel shows this fonts good. And of course I tried to remove comment(#) and to set it into one line above. style "gtk-default-ru" { fontset = "-microsoft-comic sans ms-medium-r-normal-*-*-*-*-*-*-*-*-*" # fontset = "-adobe-times-bold-i-normal--17-120-100-100-p-86-iso10646-1" } class "GtkWidget" style "gtk-default-ru
Sorry, but gtk+ 1.2 is no longer supported. Please upgrade to a more recent version of gtk+.