delorie.com/archives/browse.cgi | search |
From: | Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: foreign char |
Organization: | Pin Eight Software http://pineight.8m.com/ |
Message-ID: | <r1fpds07rtnikedjhe3d71bdbv6e16mkhj@4ax.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> <38DBAD67 DOT E2E19571 AT americasm01 DOT nt DOT com> |
X-Newsreader: | Forte Agent 1.7/32.534 |
MIME-Version: | 1.0 |
Lines: | 30 |
X-Trace: | /ba9QcaJR4aNo1o+BfBH1Q3JefEaAtLLmtAFB25y9p8FDkOT/0npkfffgMbYcuqXso6EOJi3XJxg!SdhMR/ugfCHolofGpgHoRW8nhvfn9RWwZ0P6ey5TIdN66fOITRBa6hZErc35uakvANh1gJ37RZZi!DUSEAh4= |
X-Complaints-To: | abuse AT gte DOT net |
X-Abuse-Info: | Please be sure to forward a copy of ALL headers |
X-Abuse-Info: | Otherwise we will be unable to process your complaint properly |
NNTP-Posting-Date: | Sat, 25 Mar 2000 13:18:33 GMT |
Distribution: | world |
Date: | Sat, 25 Mar 2000 13:18:33 GMT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
On Fri, 24 Mar 2000 13:01:11 -0500, "Campbell, Rolf [SKY:1U32:EXCH]" <moscoop AT americasm01 DOT nt DOT com> wrote: >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. So how do you get them into a string? OP was trying to use escape syntax to get chars with the 8th bit set, but the compiler was complaining. -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |