2009/1/12 Dave Thomas <dave / pragprog.com>:
>
> On Jan 12, 2009, at 6:29 AM, Yugui (Yuki Sonoda) wrote:
>
>> This is a bug of libedit. It does not support multibyte characters.
>> (http://www.thrysoee.dk/editline/)
>>
>> You must build Ruby with GNU readline if you want input multibyte
>> characters. [ruby-dev:36199].
>
> I have both on my box, and it looks as if the Makefile in ext/readline is
> using readline:
>
> LIBS = $(LIBRUBYARG_SHARED) -lreadline -lncurses  -lpthread -ldl -lobjc
>
> Is there a way to tell at runtime which underline readline library I'm
> using?
>
>
You can check with otool with which library the extension links.

Thanks

Michal