Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] ext ascii (127-255) ##


> On Fri, Sep 08, 2000 at 01:44:01PM -0400, Minh Van wrote:
> > why can't i get the real extended ascii chart printed properly in the
> > default linux cli ?
> > 
> > somebody mentioned that it may be the type of font i'm using, but it
> > neither works in X.
> 
> echo -e "\016"
> 
> switches your terminal to the other half of the character set (it's
> a terminal thing).

that's all well and good. am i supposed to switch to that terminal
character set when i want my C char strings translated ?

for (cnt = 128; cnt <= 255; cnt++)
	printf("%c", cnt);

doesn't seem to work very well. i'm unsure if linux uses a different
character set to msdos' extended ascii.