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

Re: locale-related problems running 32-bit application directly



GOMBAS Gabor wrote:
On Wed, Jul 20, 2005 at 11:39:30PM +0000, Max wrote:

I18N: X Window System doesn't support locale "C"

GLib: Cannot convert message: Conversion from character set 'UTF-8' to 'KOI8-R' is not supported

Gdk-WARNING **: locale not supported by Xlib
Gdk-WARNING **: cannot set locale modifiers
Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported

export XLOCALEDIR="$IA32_PATH/usr/X11R6/lib/X11/locale"
export GCONV_PATH="$IA32_PATH/usr/lib/gconv"

You may want to set other variables (GTK_EXE_PREFIX, GTK_IM_MODULE_FILE,
GTK_PIXBUF_MODULE_FILE, PANGO_RC_FILE etc.) for GTK to be able to find
its modules.

Thanks a lot!
I've resolved all locale/gtk/pango/pixbuf warnings issued by 32-bit seamonkey with the following script

#!/bin/sh
export XLOCALEDIR="/emul/ia32-linux/usr/X11R6/lib/X11/locale"
export GCONV_PATH="/emul/ia32-linux/usr/lib/gconv"
export GTK_EXE_PREFIX="/emul/ia32-linux/usr"
export GTK_DATA_PREFIX="/emul/ia32-linux/usr"
export PANGO_RC_FILE="/emul/ia32-linux/etc/pango/pangorc"
export GDK_PIXBUF_MODULEDIR="/emul/ia32-linux/usr/lib/gtk-2.0/2.4.0/loaders"
/usr/local/seamonkey/seamonkey

Now there is no a single warning, everything works smoothly as expected.

I still have one question though.
Is it possible to make these variables exported automatically on start of any 32-bit application?

Thanks,
Max



Reply to: