Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!decvax!ima!haddock!karl
From: karl@haddock.UUCP (Karl Heuer)
Newsgroups: comp.lang.c,comp.std.internat
Subject: international upper- and lowercase (was: locales)
Message-ID: <299@haddock.UUCP>
Date: Sun, 11-Jan-87 19:43:38 EST
Article-I.D.: haddock.299
Posted: Sun Jan 11 19:43:38 1987
Date-Received: Mon, 12-Jan-87 02:19:56 EST
References: <3231@cbosgd.ATT.COM>
Reply-To: karl@haddock.ISC.COM.UUCP (Karl Heuer)
Organization: Interactive Systems, Boston
Lines: 15
Xref: mnetor comp.lang.c:655 comp.std.internat:67

In article <3231@cbosgd.ATT.COM> mark@cbosgd.ATT.COM (Mark Horton) writes:
>What is the toupper function supposed to do when presented with an ess-tset
>[which is a German letter with no uppercase equivalent]?

The way I read it, toupper returns its argument unchanged if it isn't
lowercase, or if it has no uppercase equivalent.

On a related note: In the May86 Draft (which predates setlocale(), so this is
probably all out of date now) I read that isalpha tests for "any character for
which isupper or islower is true, or any of an implementation-defined set of
[other characters]".  Are there any alphabets that contain letters that are
considered neither uppercase nor lowercase?  (If so, the usual trick of or'ing
the isupper and islower bits together wouldn't work.)

Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint