[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bugs in wide character API

From: Thomas Dickey
Subject: Re: Bugs in wide character API
Date: Fri, 17 Sep 2004 09:18:31 -0400 (EDT)

On Fri, 17 Sep 2004, Marcin 'Qrczak' Kowalczyk wrote:

> Marcin 'Qrczak' Kowalczyk <address@hidden> writes:
> > Hello. I found the following bugs (31 July snapshot):
> >
> > 1. add_wch ignores attributes and colors of the cchar.
> >
> > 2. get_wch doesn't recode a printing character from the locale encoding
> >    to Unicode if the locale is different from UTF-8 (or ISO-8859-1 when
> >    no recoding is needed).
> What is the status of these bugs? They don't seem to be fixed in
> ncurses patches. Unfortunately I don't know ncurses internals enough

I've started working on them.  The first item was the reason why I added
the "B" test screen to test/ncurses.c last week (would have gotten to that
point the previous week, but had to replace my development machine).

I did notice one problem in add_wch, which is that it assumes the
data is a single wchar_t, null-terminated (which may be the problem you
were running into).

> to fix them myself, except that I could try with the first one.
> Will somebody fix them if I just wait long enough?
> --
>    __("<         Marcin Kowalczyk
>    \__/       address@hidden
>     ^^     http://qrnik.knm.org.pl/~qrczak/
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-ncurses

Thomas E. Dickey

reply via email to

[Prev in Thread] Current Thread [Next in Thread]