Michal Suchanek
11/1/2008 3:54:00 PM
On 30/10/2008, Tim Mcd <tmcdowell@gmail.com> wrote:
> Anyone interested in a Roguelike game written in Ruby/Ncurses project?
> Email me/post here!
>
> (tmcdowell@gmail.com)
>
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.
In ruby 1.9 you could possibly set LC_CTYPE and use ncursesw but you
would still have to hack the extension.
I have posted a patch for 1.8 some time ago but that would likely
break stuff in Time or the like because ruby 1.8 does not play well
with setting locale.
Thanks
Michal