XOpenIM fails
XOpenIM fails
- Subject: XOpenIM fails
- From: "Dave Williss" <email@hidden>
- Date: Mon, 10 Feb 2003 15:54:05 -0600
I'm trying to get an X app to use kinput2 and Canna to do Japaese
input. This is on Mac OS X, running their new X11 server that they
provide, but also using XDarwin and OroborOS X.
I try the following
setlocale(LC_CTYPE, "ja_JP.SJIS"); // This succeedes
// XSupportsLocale() returns true
// XSetLocaleModifiers("@im=kinput2");
xim = XOpenIM(display, 0, 0, 0); // Always fails
In tracing why it fails, I found the following problems:
In _XimGetEncoding() (imDefIm.c, around line 1642)
When it calls
_XlcOpenConverter(lcd, XlcNcompundText, lcd, XlcNUtf8String)
This always fails (the function does this in 2 places
There are 3 more _XlcOpenConverter() calls at the bottom of the
function which also fail. If I comment all these out, it works.
The question is: Why do these fail? Is it a flaw in the X locale
stuff or in Apple's locales?
-- Dave Williss
------
Meddle not in the affairs of dragons,
for you are crunchy and taste good with catsup
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.