Hi, the org_gnu_readline_Readline.c always explicitly converts all text to/from ucs2 when passing data to/from readline. As I understand, readline interchages text accordincly to the current locale, but not in ucs2.
As the result, text typed in Cyrillic comes broken to Java.
In my case, on Linux utf8 is already used as the current locale, so I just changed lines like:
ucs2utf(input);
to
strcpy(buffer, input);
to fix this.