Question about toupper and tolower

spaf at gatech.UUCP spaf at gatech.UUCP
Wed Nov 16 16:55:23 AEST 1983


I don't wish to seem like I'm advocating stupidity, but keep in mind
that not every machine represents its character set in 7 bits, nor
can one implement "tolower" and "toupper" just by xor'ing a bit --
not every machine uses ASCII.  

Portability and "standards" sometimes have interesting wrinkles to them.

-- 
Off the Wall of Gene Spafford
School of ICS, Georgia Tech, Atlanta GA 30332
CSNet:	Spaf @ GATech		ARPA:	Spaf.GATech @ CSNet-Relay
uucp:	...!{akgua,allegra,rlgvax,sb1,unmvax,ulysses,ut-sally}!gatech!spaf



More information about the Comp.lang.c mailing list