Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site cornell.UUCP Path: utzoo!linus!decvax!harpo!floyd!vax135!cornell!hal From: hal@cornell.UUCP (Hal Perkins) Newsgroups: net.lang.c Subject: Re: Question about toupper and tolower Message-ID: <5634@cornell.UUCP> Date: Fri, 11-Nov-83 20:26:23 EST Article-I.D.: cornell.5634 Posted: Fri Nov 11 20:26:23 1983 Date-Received: Sun, 13-Nov-83 11:23:33 EST References: <300@bbncca.ARPA> Organization: Cornell Computer Science Lines: 8 You can't just turn on or off the high-order bit on any character to convert between upper and lower case. You still need to test that the character you are converting is really a letter, and not a digit or punctuation mark that should not be changed by toupper and tolower. Hal Perkins UUCP: {decvax|vax135|...}!cornell!hal Cornell Computer Science ARPA: hal@cornell BITNET: hal@crnlcs