|
I'm posting this to both the xpert list and the
i18n list.
I'd expect the person I'm looking for would be on
the i18n list,
but traffic there is very sparse. Maybe
nobody maintains this
anymore.
The program kinput2 has a slight problem with wide
char
support. Rather than using the system's
typedef for wchar_t,
it defines its own wchar as being an unsigned short
and expects
everything else to handle it this way too. It
seems that on some
systems, wchar_t is 4 bytes, not
2.
The fix is to change the typedef of wchar to the
following...
#include
<stdlib.h> /* For wchar_t */
typedef wchar_t
wchar
This needs to be done in 5
places...
lib/ctext.c
include/WStr.h
include/Xsj3clib.h
include/cconv.h
include/wnnlib.h
Sorry I don't have this as a simple patch that I
could post, but
my current source base is a bit messy, as I had to
throw in a
ton of TRACE statements to try to find out what was
wrong.
Also, I'm using kinput2-v3.1, which is the most
current I could
find.
-- Dave Williss
------ Meddle not in the affairs of dragons, for you are crunchy and taste good with catsup |
