On Sat, Sep 27, 2008 at 1:32 PM, Thomas Dickey <[EMAIL PROTECTED]> wrote:
>>>
>>>  #include <locale.h>
>>>       setlocale(LC_ALL, "");
>
> Without initializing the locale, ncurses doesn't know about UTF-8.
> It's an encoding that can use multiple bytes per character.

OK, I understand it now; but I still think there is a bug, at least a
documentation one: it would be *very* useful to have a README.Debian
in libncursesw5-dev telling this.  Without those 2 lines, any program
linked with libncursesw5 works exactly the same as it does with
libncurses5, without any wide-char "support" at all.

-- 
Juan Cespedes



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to