On Sat, Sep 27, 2008 at 1:32 PM, Thomas Dickey <[EMAIL PROTECTED]> wrote:
>>>
>>> #include
>>> 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 th
On Sat, 27 Sep 2008, Juan Céspedes wrote:
On Sat, Sep 27, 2008 at 1:21 AM, Thomas Dickey <[EMAIL PROTECTED]> wrote:
Two observations:
It does not initialize locale.
#include
setlocale(LC_ALL, "");
Nice. Including these lines it does work. Why is it necessary to
initialize locale
On Sat, Sep 27, 2008 at 1:21 AM, Thomas Dickey <[EMAIL PROTECTED]> wrote:
>
> Two observations:
>
> It does not initialize locale.
>
> #include
>setlocale(LC_ALL, "");
Nice. Including these lines it does work. Why is it necessary to
initialize locale? I am tempted to rename the bug :)
On Fri, Sep 26, 2008 at 03:26:59PM +0200, Juan Cespedes wrote:
> Package: libncursesw5,libncursesw5-dev
> Version: 5.6+20080830-1
> Severity: normal
>
> When using multi-bytes UTF-8 characters in libncurses, it wrongly
> calculates its width, and messes up all the display.
>
> Attached is a simpl
Package: libncursesw5,libncursesw5-dev
Version: 5.6+20080830-1
Severity: normal
When using multi-bytes UTF-8 characters in libncurses, it wrongly
calculates its width, and messes up all the display.
Attached is a simple program which demostrates it; the output should be:
+--+
|Juan C
5 matches
Mail list logo