bug-ncurses
[Top][All Lists]
Advanced

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

Re: Unicode


From: William McBrine
Subject: Re: Unicode
Date: Tue, 24 Oct 2006 21:46:47 -0400 (EDT)

On Tue, 24 Oct 2006, Thomas Dickey wrote:

> On Tue, 24 Oct 2006, Christ, Bryan wrote:
> 
> > Assuming that unicode is enabled, is there any reason I cannot just 
> > push a UTF-8 character to the screen with addch()?
> 
> yes - but: "a UTF-8 character" means to me a multibyte encoding for a 
> Unicode character.  Each call to addch() expects a byte with attributes.

Or you could use add_wch(), addwstr(), etc., with wchar_t/cchar_t values.

-- 
William McBrine <address@hidden>




reply via email to

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