bug-ncurses
[Top][All Lists]
Advanced

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

Re: I've made a simple program, showing UTF-8 lower but not uppercase wo


From: amores perros
Subject: Re: I've made a simple program, showing UTF-8 lower but not uppercase working
Date: Sat, 24 Sep 2005 00:28:09 +0000




Myself asking another probably very simple question.

I installed libncursesw5-dev, and changed my test program
by including ncursesw
#include <ncursesw/curses.h>

and linking to ncursesw
gcc ct.c -lncursesw

and it worked this time (that is, both lowercase and uppercase
characters in my simple test program came out correctly).

I did not add code to convert my string to wchar_t,
and change my calls to call widechar (cchar) versions.

I did not define _XOPEN_CURSES.

Did I get lucky (and I should go back and define _XOPEN_CURSES,
and ignore this flaky result), or should this have worked?

Cordially,

Perry






reply via email to

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