bug-ncurses
[Top][All Lists]
Advanced

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

Re: wide characters, get_wch() and form_driver() - cannot get them worki


From: Adam Spragg
Subject: Re: wide characters, get_wch() and form_driver() - cannot get them working together.
Date: Wed, 18 Jun 2008 13:57:52 +0100
User-agent: KMail/1.9.9

Hi,

On Tuesday 17 June 2008 14:57:01 Thomas Dickey wrote:
> The resolution was basically saying that the form library gets
> compiled to support wide-character mode, and that _it_ knows only
> about byte-at-a-time adds via addch, but that (with the limitation of
> not moving the cursor in the middle of the operation), should work.

I've compiled my own ncurses library from the gnu sources, rebuilt the 
test program against that, linked with it, run it and got the same 
problem - E_UNKNOWN_COMMAND when adding the first character of a '£', 
random accented vowels from unicode code points 192-255, and '€' - the 
euro symbol. When trying to enter the Euro symbol, the status line 
prints out the correct character id of 8364 (0x20ac) and points out 
that I got the E_UNKNOWN_COMMAND on byte 0 of 3, which is the correct 
number of bytes for the utf-8 encoding of that character.

I configured ncurses with the command line:
  ./configure --prefix=/home/adam --enable-widec --with-shared

and checked the test program was loading the new copy of the library 
with strace.

Anything else I can check on my end?

Adam

p.s. Just out of curiosity, are you seeing the '£' (pound) and '€' 
(euro) characters correctly in the emails I'm sending? I've checked my 
outgoing mail and as far as I can tell it's being sent in utf-8 and is 
identifying itself as utf-8. But your earlier reply to had the charset 
set to X-UNKNOWN which caused some problems displaying the pound 
character, and the archived version at lists.gnu.org[0] isn't quite 
right either.

[0] http://lists.gnu.org/archive/html/bug-ncurses/2008-06/msg00017.html

-- 
Adam Spragg                             mailto:address@hidden
Developer
SMS Card                                       http://www.smscard.com/


It reverses the logical flow of conversation!
> Why?
> > No.
> > > Should I top post?

http://www.google.com/search?q=%22top+posting%22




reply via email to

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