From: Carlos Date: 2004-12-22T11:58:29+09:00 Subject: Re: curses - how to use unicode [Simon Strandgaard , 2004-12-21 23.41 CET] Hi, Simon: > # is const char * correct here ? > extern "int add_wchstr(const char *)" > extern "int add_wchnstr(const char *, int)" Probably you want "addwstr" and "addnwstr". The "wch" of "add_wchn?str" seems to be a struct that encodes both character and attribute. > str = [0x250c, 0x2510, 10, 0x2514, 0x2518].pack("U*") + "\000" On the other hand, the parameters to "addn?wstr" are wchar_t *, which I think are defined as 32 bit integers. So I guess you should either use "pack('L*')", or change the function declaration. (Nothing tested :). Good luck.