summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorOwen Taylor <owt1@cornell.edu>1998-03-22 21:31:10 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-03-22 21:31:10 +0000
commit16aa9c196416f6bbb60e22f06f62cae8ab4b0196 (patch)
treefa112252cd622b7ca926ae704d7fce65359b76af /INSTALL
parentac05ab301ddc3590ca55b7dec8c2ac472cedc55d (diff)
downloadgdk-pixbuf-16aa9c196416f6bbb60e22f06f62cae8ab4b0196.tar.gz
fixes to locale checks
Sun Mar 22 16:25:46 1998 Owen Taylor <owt1@cornell.edu> * gtk/gtkmain.c (gtk_init): fixes to locale checks * gtk/testgtk.c (create_dnd): Create the dnd icons separately to avoid strange interactions with shapes demo. * gtk/gtkentry.[ch]: - Limit the length of the text to 2048 to prevent long delays - Fix problems with buffer overruns - Draw only the onscreen portion of the text to prevent wrapping of shorts in the X drawing code. - Keep track of character positions and x-offsets to speed up algorithms.
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL29
1 files changed, 26 insertions, 3 deletions
diff --git a/INSTALL b/INSTALL
index 4fecd0a21..cfacfc08f 100644
--- a/INSTALL
+++ b/INSTALL
@@ -26,11 +26,34 @@ for which your operating system has the worst support for the
--with-locale option.
-Note for using XIM support with kinput2
----------------------------------------
+Notes for using XIM support for Japanese input
+----------------------------------------------
-There is a bug in older versions of kinput2 that will cause
+* There is a bug in older versions of kinput2 that will cause
GTK to hang when destroying a text entry. The latest versions
of kinput is available from:
ftp://ftp.sra.co.jp/pub/x11/kinput2
+
+* The locale information file for the ja_JP EUC locale
+distributed with some recent versions of X11 specifies to
+use the C library multibyte functions. Unless your C library
+has support for Japanese locales, this is incorrect, and
+will cause problems for GTK's internationalization.
+
+(In particular, this occurs with GNU libc 2.0 and 2.1, in which the
+multibyte functions always translate to and from UTF-8; but the
+problem may occur for other C libraries, and other operating systems
+as well.)
+
+To fix this, change the line:
+
+use_stdc_env True
+
+to
+
+use_stdc_env False
+
+in the file /usr/X11R6/lib/X11/locale/ja_JP/XLC_LOCALE.
+
+