[Top][All Lists]

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

Re: extended ascii

From: Thomas Dickey
Subject: Re: extended ascii
Date: Thu, 31 May 2007 15:06:01 -0400 (EDT)

On Thu, 31 May 2007, Bryan Christ wrote:

Is it possible to display extended ascii characters with ncurses? By extended ascii I am referring to the the codes listed on this page:


The second page has no relationship to ASCII (since ASCII is a 7-bit
character set).  Offhand that looks like Windows code page 437, e.g.,


Some programs (mc, giFTcurs, etc) do this (so I know it's possible), but addch() definitely does not work.

addch normally follows the locale settings (and there aren't any locales which use that as an encoding). Assuming the encoding actually works, you can override locales with use_legacy_coding()

I added that because lynx uses the feature (noting that very few applications actually require it).

Thomas E. Dickey

reply via email to

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