GTK1 not understanging UTF8?, LANG=pl_PL.UTF-8
I have the following problem: Applications that use GTK1 have problems with input and output of text.
(which is polish in UTF-8), but I believe, that this issue concerns every system with UTF-8 (not only with polish language).
I'm using UTF-8 wherever possible (also in filesystems).
1. when entering polish character in e.g. one of Gnome-Commander's edit boxes: two characters show instead of one.
2. when browsing filesystem: if filename has polish characters ( probably any non-latin character, actually ), one letter is displayed as two weird characters. Also all GUI elements with non-latin letters have the same problem.
3. When in e.g. Gnome-Commander I choose a font with iso 10646-1 encoding (which is related to Unicode, i believe): The font selection dialog informs me: "this two-byte font may not be displayed correctly" (actually it is in polish but I translated it to English). Indeed the font is not shown correctly! Instead of letters i see rectangles wherever the new font is used.
QT, KDE and GTK2 don't have any trouble (and never had) and work perfectly (both input and output). So the problem must be in GTK1 or its configuration.
The apps, with which I experience problems, are: Gnome-Commander, Gentoo (file manager), Cine Paint.
I've experimented with various GTK - related configuration files in /etc/ but with no good results.
I've also searched on the Internet but didn't find a solution to my specific problem.
My questions are:
1. does GTK1 support Unicode at all? UTF8?
2. if yes: how do i tell it that i am using Unicode?
3. if no: is there any workaround?
I'm using simplyMepis 3.3.1 ( based on Debian ).
Please help :-), TIA
PS I'm a novice Linux user.
Last edited by qs-raven; 08-10-2005 at 12:08 PM.