delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/24/21:21:01

From: "Campbell, Rolf [SKY:1U32:EXCH]" <moscoop AT americasm01 DOT nt DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: foreign char
Date: Fri, 24 Mar 2000 13:01:11 -0500
Organization: Nortel Networks
Lines: 20
Message-ID: <38DBAD67.E2E19571@americasm01.nt.com>
References: <lD9C4.1556$1C2 DOT 146525 AT news20 DOT bellglobal DOT com> <J3bC4.1899$AU DOT 150237 AT weber DOT videotron DOT net> <61akdskpe6vgsvm99hspc3ss468e5988am AT 4ax DOT com>
NNTP-Posting-Host: wmerh0tk.ca.nortel.com
Mime-Version: 1.0
X-Mailer: Mozilla 4.72C-CCK-MCD [en] (X11; I; HP-UX B.10.20 9000/785)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Damian Yerrick wrote:

> >ASCII only goes up to 0x7F. The A in ASCII stands for American. Americans
> >don't know about accents, at least not back in the days of teletype
> >machines..:(. There are no accented characters in ASCII. Unamerican
> >characters may be represented by multi-byte sequences, hence they are out of
> >range of char, which is one byte long.
>
> But what about iso-8859-1, which OP is probably trying to refer to?
> It uses the negative characters (char)-96 to (char)-1 to store
> precomposed characters that are commonly used in Western writing.

Those 'negative chars' are just the 2's compliment of normal unsigned char's.
So they correspond to char's with the 8th bit set.

--
(\/) Rolf Campbell (\/)



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019