On Sun, Nov 2, 2008 at 7:55 AM, Michal Suchanek <hramrach / centrum.cz> wrote:
> On 01/11/2008, Nit Khair <sentinel.2001 / gmx.com> wrote:
>> Michal Suchanek wrote:
>>  > On 30/10/2008, Tim Mcd <tmcdowell / gmail.com> wrote:
>>
>>  >>
>>
>> > There's one downside to ncurses in Ruby - they do not support
>>  > multibyte characters. So your internationalization possibilities are
>>  > limited, and so are things like PC names.
>>  >
>>
>>  >
>>
>>  >
>>
>> > Thanks
>>  >
>>  > Michal
>>
>>  Has anyone here used or played about with "slang" / s-lang. Would that
>>  be better in this respect? I don't believe anyone has written a ruby
>>  binding.
>>
>>  What is the work involved to get ncurses-ruby MB enabled ? Is the
>>  problem at the ruby end, or the ncurses end or the binding ?
>>
>
> It's at the Ruby end. 1.8 does not work with locale but ncurses seems
> to use locale to determine encoding. Also ruby does not use ncursesw
> when they are available.
>
> 1.9 could work but the extension would probably have to be updated to
> at least link against ncursesw - at least that is how it worked for
> me.

Could we use the new Ruby FFI to spare us the C mess?