Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have the following problem: Applications that use GTK1 have problems with input and output of text.
Variable LANG=pl_PL.UTF-8
(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).
The symptoms:
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
Hey. Noone is answering...
I've recently thought: Maybe the problem isn't in the GTK1 itself but in X Windows' input methods and text rendering? Maybe Xs don't know about Unicode in these applications?
So is there a way to force encoding upon an application? I would like to force ISO8859-2 in some UTF-incompatible applications. Then at least I would have proper handling of polish letters in them ( i think :-) ).
PS Yes. I know that GTK2.x supports Unicode :-) And it apparently does it very well :-)
What about other toolkits? ( Xaw, Motif, ... )
I think motif support unicode, not sure about xaw. I do not beleive there is anyway to force unicode on gtk1 unless you want to get very deep into the source code. What exactly rae you doing that you have the option of using all these different toolkits?
dillo uses gtk1 yet
dillo itself supports UTF8 well, but gtk1 does not
I investigated it alittle, there is a trick to force some codepage typing an appropriate font into /etc/gtk/gtkrc.utf-8 (i.e. iso8859 fonts or smth like it)
It is good, but I'd like to use unicode
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.