|
From: | amores perros |
Subject: | Re: extended ASCII characters do not show up |
Date: | Sat, 01 Oct 2005 15:44:14 +0000 |
From: Thomas Dickey Subject: Re: extended ASCII characters do not show up Date: Sat, 1 Oct 2005 11:33:16 -0400 (EDT) That sounds as if you're running a program in the Linux console. When it's set to UTF-8 mode, it ignores the vt100-style line-drawing, and gives the same effect. In that combination, the only way to get line-drawing is to use libncursesw (which can write UTF-8) rather than libncurses (which cannot). --
#1) I posted earlier about my struggle to get ncurses working with UTF-8under linux, and I got it working by including and linking to ncursesw -- but
its working -- AFAICT -- without me adding the XOPEN define you had mentioned. Do I need that XOPEN define? #2) I don't understand how line drawing characters (such as AC_VLINE, I think) work with UTF-8? That is, I don't know what they could expand to that would work, unless they (macros I assume) expand to characters between 0 and 0x20 which are not otherwise used. I've looked in the ncurses faq for UTF-8, but if the answer is there I overlooked it :( Cordially, Perry
[Prev in Thread] | Current Thread | [Next in Thread] |