• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
XOpenIM fails
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: X11 0.2 now out
  • Next by Date: Re: Announce: X11 for Mac OS X Beta 2 is available
  • Previous by thread: X11 0.2 now out
  • Next by thread: Re: X11 0.2 still crashing on launch
  • Index(es):
    • Date
    • Thread