home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!uicvm.uic.edu!u35395
- Organization: University of Illinois at Chicago
- Date: Thu, 21 Jan 1993 15:40:15 CST
- From: C. M. Sperberg-McQueen <U35395@uicvm.uic.edu>
- Message-ID: <93021.154016U35395@uicvm.uic.edu>
- Newsgroups: comp.lang.rexx
- Subject: Re: Lower-case alphabetic set
- References: <REXXLIST%93012111161215@UGA.CC.UGA.EDU>
- Lines: 16
-
- > Since we are back on lowercase, how about:
- >
- > Lowercase: /* Passed a single character */
- > RETURN D2C(C2D(ARG(1)+C2D('a')-C2D('A'))
- >
- > This should work correctly for ASCII and EBCDIC and any table where either
- > the pattern of lowercase letters is the same as the pattern of uppercase,
- > even if the uppercase and lowercase letters are interleaved.
-
- Yes, it will. Unfortunately, this is not the way IBM's country extended
- code pages (i.e. the versions of EBCDIC which include more than the
- usual 94-character EBCDIC) are arranged. It's also not always true of
- the ISO 8-bit character sets (e.g. ISO 8859-1, 8859-2, etc.)
-
- -C. M. Sperberg-McQueen
- University of Illinois at Chicago
-