Index: gui_main.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk/gui_main.c,v retrieving revision 1.84 diff -u -r1.84 gui_main.c --- gui_main.c 2001/07/04 11:54:08 1.84 +++ gui_main.c 2001/07/31 22:46:36 @@ -15,6 +15,9 @@ #endif #include +#ifdef HAVE_LOCALE_H +#include +#endif #include #include #include @@ -639,9 +642,18 @@ parse_options(argc, argv); /* tell GTK+ library which locale */ -#ifdef ENABLE_NLS - gtk_set_locale(); + +#ifdef HAVE_LOCALE_H + /* Freeciv assumes that all the world uses ISO-8859-1. This + assumption is not quite true, but used to work more or less. + This is a workaround until we can fix the problem properly + in the next release. */ + + if (!strcmp(setlocale(LC_CTYPE, NULL), "C")) + setenv("LC_CTYPE", "en_US.ISO8859-1", TRUE); #endif + + gtk_set_locale(); /* GTK withdraw gtk options */ /* Process GTK arguments */