On Feb 8, 2008 10:10 AM, Allin Cottrell <[EMAIL PROTECTED]> wrote: > I've received a strange problem report about the win32 version of > my GTK app running on XP Home in Spanish on an ACER 1691 laptop > (setlocale gives "Spanish_Spain.1252"). > > Window titles are managed by gettext, as in > > title = g_strdup(_("gretl: command script")); > gtk_window_set_title(GTK_WINDOW(foo), title); > > so when running in Spanish some window titles will contain > accented characters. For example, the above becomes > > gretl: gui\'on de instrucciones > > (represented as TeX for email purposes). > > The problem is that such windows are not opening, with an error > of "hay una secuencia de bytes no v\'alida en la entrada de > conversi\'on". > > Many people are running the program in Spanish without this > problem; there seems to be something about this XP installation > that is tricking glib. Any notions what might be wrong?
Which version of GTK+ are you using? I don't know if this is relevant to the problem you're seeing, but the win32 port of GTK+ doesn't fully support non-ascii window titles until 2.12.0. The other thing I can think of is that message in the Spanish .po file may not be correctly encoded. I would expect msgfmt to warn you if this is the case. -D _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list