[Indic-computing-devel] XmbLookupString, XIM and UTF-8 locales for Indian Languages
Status: Alpha
Brought to you by:
jkoshy
From: Jyotirmoy S. <jyo...@ya...> - 2003-07-21 11:56:45
|
Hi, I've a proper UTF-8 locale and my LC_ALL is set to that locale (hi_IN). Commands like date, cal, ls -l etc are giving me proper UTF-8 strings. I've compiled rxvt with X Input Method(XIM) support on. I'm using "xmodmap" to input unicode character. I'm using the xmodmap files from IndLinux.org When I press "Right-ALT(mode_switch key) + k", rxvt gives me the correct keysym(which is U0915) through XmbLookupString. But the same function (XmbLookupString) fails to give me correct UTF-8 encoded string for the keysym. In fact, this fucntion doesn't return any string at all! I've got the same problem with other X clients which uses X Input Method. I know that "XmbLookupString returns text in the encoding of the locale bound to the input method of the specified input context". Can someone tell me where is the problem? Thanks in advance. Jyotirmoy __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |