bug-ncurses
[Top][All Lists]
Advanced

[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:

http://www.cdrummond.qc.ca/cegep/informat/Professeurs/Alain/files/ascii.htm

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.,

http://www.microsoft.com/globaldev/reference/oem/437.mspx

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
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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