Re: Japanese GTK/GNOME text garbled.
- From: Pablo Saratxaga <pablo mandrakesoft com>
- To: gtk-i18n-list redhat com
- Subject: Re: Japanese GTK/GNOME text garbled.
- Date: Tue, 7 Mar 2000 12:33:25 +0100
Kaixo!
On Mon, Mar 06, 2000 at 12:12:39PM -0500, Jack Hannon wrote:
> When I attempt to run an GTK/GNOME application with either LC_ALL set to
> ja_JA or LANGUAGE set to ja, the translations are used but not presented
> in Japanese. Instead they are just garbled characters.
>
> I do not have this problem when running for other languages.
Have you japanese fonts ?
Run the program from an xterm and report the error messages.
A gnome program must work (as long as the author hasn't manually added
low level GTK/GDK functions).
A Gtk program, however, needs a setlocale(LC_ALL,"");
line at the very beginning of the main().
And you must set LC_ALL (or LC_CTYPE) in adition to LANGUAGE too.
LANGUAGE sets the translation to use; but that isn't enough, you must
set LC_CTYPE (or LC_ALL) so XFree86 knows which fontset to use.
And of course, the program must use fontsets; if gdk_font_* functions are
used that is a bug of the program; they must be replaced with gdk_fontset_*
ones.
> Any suggestions would be greatly appreciated.
Douzo, give more specific info; which program, which version, what error
messages...
--
Ki ça vos våye bén,
Pablo Saratxaga
http://www.ping.be/~pin19314/ PGP Key available, key ID: 0x8F0E4975
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]