Subject: Re: spellcheck suggestions problem
From: Tomas Frydrych (tomas@frydrych.uklinux.net)
Date: Fri Oct 05 2001 - 10:20:17 CDT
Hi Andrew,
> > I think that in environments that support Unicode
> > (e.g win, Unix utf-
> > 8 locale), we should either draw all our menus using
> > Unicode, or,
> > we should at least make the spellchecker context
> > menu a special
> > case.
>
> I had a lot of this stuff working on Win32 in a large
> patch I sent to Dom and others a few months ago just
> before I left AbiWord to travel the world.
> In general, almost everything needs to be Unicodized.
I can see (at least in principle) how to get this working on Win32,
but having spent several hours examining the Unix side of the
problem, I have to say that things are rather different there. The gtk
interface is principally 8-bit, and there does not seem to be any
way to pass a Unicode string to the basic widgets, such as
GtkLabel which makes up our context pop up menu. Although gtk
is capable of drawing wchar and 16-bit strings, the label expects an
8-bit string, and will terminate any imput on the first \0. I see no
way out of this problem save hacking gtk itself.
Tomas
This archive was generated by hypermail 2b25 : Fri Oct 05 2001 - 10:20:42 CDT