From: Thomas Dickey Date: 2004-12-21T20:52:02+09:00 Subject: Re: curses - how to use unicode 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). -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net