From: Simon Strandgaard Date: 2004-12-22T05:51:21+09:00 Subject: Re: curses - how to use unicode On Tue, 21 Dec 2004 21:39:31 +0100, Simon Strandgaard wrote: > On Tue, 21 Dec 2004 20:52:02 +0900, Thomas Dickey > wrote: > > Simon Strandgaard wrote: > > > Yesterday I got xterm working with UTF-8. I had made an oneliner that > > > outputted a small box. > > > > > puts [0x250c, 0x2510, 10, 0x2514, 0x2518].pack("U*") > > > > > When I try the same through curses.. then no unicode. > > > I don't see the small box. > > > > very likely ruby's package for curses doesn't link with the wide-character > > variation (libncursesw for ncurses versus libncurses). That's needed to > > build up the contents of each cell on the screen (internally Unicode). Ah.. I overlooked the 'w'.. I added --enable-widec when duing ./configure, and now its much better. Thanks Is widec still experimental ? -- Simon Strandgaard