[Top][All Lists]

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

printing ASCII chars 0x80 ... 0x9f

From: nurweiterso
Subject: printing ASCII chars 0x80 ... 0x9f
Date: Thu, 30 Nov 2006 10:11:13 +0100


I'm porting a very old program that uses a special font with special symbols.
I'm using an bitmap font (bdf and pcf) that includes all the required symbols 
(0x80 to 0xff). 

When testing the font with a simple C program ( printf("%c",0x80); ) everything 
works fine. 

But when using ncurses' addch(0x80) I get problems with the so called 
non-printable chars 0x80 to 0x9f (0xa0 ... 0xff works!!). They appear as <80> 
<81> ... et cetera.

(The program worked fine with an older release of ncurses. Unfortunatley, I 
don't know which release.)
I tried setlocale(LC_ALL,""), but without success. 

How is it possible to print the chars 0x80 to 0x9f with the current relaese of 

Any help on this matter is appreciated!


"Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!

reply via email to

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