bug-ncurses
[Top][All Lists]
Advanced

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

Re: extended ascii


From: Bryan Christ
Subject: Re: extended ascii
Date: Thu, 31 May 2007 14:32:23 -0500
User-agent: Thunderbird 1.5.0.10 (X11/20070302)

i was hoping for something portable.  does pdcurses offer this facility?

Thomas Dickey wrote:
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).





reply via email to

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