[Top][All Lists]

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

Re: Writing Unicode

From: Thomas Dickey
Subject: Re: Writing Unicode
Date: Fri, 16 Nov 2018 21:14:47 -0500
User-agent: Mutt/1.5.23 (2014-03-12)

On Fri, Nov 16, 2018 at 02:22:15PM -0600, Bryan Christ wrote:
> If my application is linked against the standard version of ncurses (not
> the wide version), is there anyway to directly write a unicode character to
> the underlying terminal in a way that ncurses would handle gracefully.  I'm
> guessing the answer is no and I need to use the wide version.

that's correct: ncurses only knows the number of cells that a given set
of bytes should take up if it knows the the encoding (it assumes that
if the locale uses UTF-8, that the terminal's consistent with that...)

The narrow version doesn't know about UTF-8

Thomas E. Dickey <address@hidden>

Attachment: signature.asc
Description: Digital signature

reply via email to

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