Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#247 Can't input characters using XIM.

development
closed-out-of-date
nobody
Program (402)
5
2007-03-05
2003-03-30
Anonymous
No

I can not input chinese characters in nedit window
using XIM, XIM server is htt, the preedit area and
status area works, but the XmImMbLookupString function
in text.c return 0 with status set to XLookupNone, why?

LC_CTYPE=zh_CN.EUC

5.4DEV
Jan 7, 2003

Built on: Solaris, Sparc, GNU C
Built at: Jan 10 2003, 10:54:18
With Motif: 2.1.0 [@(#)Motif Version 2.1.0]
Running Motif: 2.1 [unknown]
Server: Sun Microsystems, Inc. 6410
Visual: 24-bit TrueColor (ID 0x22, Default)

Discussion

  • Andrew Hood
    Andrew Hood
    2003-03-31

    Logged In: YES
    user_id=36856

    NEdit only supports 8 bit character sets.
    Support of wide characters would be a major project, and as
    far as I know is not on the wish list.

     
  • Logged In: NO

    Yes, you're right, but I do not expect it can display
    wide characters (of course that's really great).
    It's quite strange that XmImMbLookupString return none,
    you know, I simply replace XmIm functions with
    XOpenXIM/XCreateIC/XmbLookupString fuctions, that works!
    with a little bugs, I'm not good at programming:)
    So I want to know why XmImMbLookupString does not work?

     
  • Thorsten Haude
    Thorsten Haude
    2004-07-15

    Logged In: YES
    user_id=119143

    NEdit's text widget is a custom widget. I don't claim to
    understand what you are trying to achive, but that is
    probably the reason why it fails.

     
  • Thorsten Haude
    Thorsten Haude
    2006-02-05

    Logged In: YES
    user_id=119143

    6B offers a few hints about this problem, looks like it
    should just work. Does this work with NEdit's Motif text
    fields, eg. in the syntax highlighting dialog?

    You could also compile NEdit with the NO_XMIM switch to fall
    back to X11 methods. Does this help?

     
  • Thorsten Haude
    Thorsten Haude
    2006-09-17

    Logged In: YES
    user_id=119143

    Again, does this work with NEdit's Motif text fields, eg. in
    the syntax highlighting dialog? Did the compile switch help?

     
  • Thorsten Haude
    Thorsten Haude
    2007-03-05

    • status: open --> closed-out-of-date
     
  • Thorsten Haude
    Thorsten Haude
    2007-03-05

    Logged In: YES
    user_id=119143
    Originator: NO

    (No response, closed.)