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