On Sat, Jan 3, 2009 at 9:20 PM, Peter Wehrfritz <[email protected]> wrote: > Enlightenment SVN schrieb: >> +#ifdef X_HAVE_UTF8_STRING >> e->key_compose = strdup(buf); >> +#else >> + e->key_compose = ecore_txt_convert(nl_langinfo(CODESET), "UTF-8", >> buf); >> +#endif >> } >> } >> else >> @@ -739,7 +751,7 @@ >> { >> char *str; >> XSetICValues(_ecore_x_ic, XNFocusWindow, xevent->xfocus.window, NULL); >> - if ((str = Xutf8ResetIC(_ecore_x_ic))) >> + if ((str = Xmb8ResetIC(_ecore_x_ic))) >> XFree(str); >> XSetICFocus(_ecore_x_ic); >> > Shouldn't here also Xutf8ResetIC be used, if available? Or doesn't this > matter in this case? >
Doesn't matter, if I got this right. The different functions just change the encoding of the returned string. > Peter > > ------------------------------------------------------------------------------ > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > ------------------------------------------------------------------------------ _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
