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

Re: To Do List for 2001



Thu, 18 Jan 2001 13:55:35 +0100, Martin Norbäck <d95mback@xxxxxxxxxxxxxxxx> pisze:

> > There are no UTF-8-capable curses.
> 
> I have ncurses-5.2 compiled with --enable-widec, and it seems to work.

Ah. Seems to basically work, but they still lack functions working
on wchar_t and cchar_t. They put 16bit characters in chtype values, ugh.

An application can't just talk in Unicode with ncurses, but must
check itself if the locale works in UTF-8, and talk with ncurses
in UCS-2 in this case, or in local 8-bit encoding otherwise.

Is there at least a reliable way to tell if ncurses will accept
Unicode characters? I.e. currently it is equivalent to checking that
it has the support compiled in and treats the terminal as UTF-8, but
I look for a better way to determine what chtype really is (having
"the local multibyte encoding" as one of possibilities, which is not
right for UTF-8 mode).

-- 
 __("<  Marcin Kowalczyk * qrczak@xxxxxxxxxx http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK

-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/lists/