* Tom Lane <tgl@sss.pgh.pa.us> [010219 21:02]:
> Larry Rosenman <ler@lerctr.org> writes:
> > What about EBCDIC (IBM MainFrame, I.E. Linux on S/390, Z/390).
>
> Right, that was what I meant about not wanting to hardwire assumptions
> about ASCII.
>
> We could instead code it as
>
> if (isupper(ch))
> ch = ch + ('a' - 'A');
what about: if (isupper(ch) && isalpha(ch)) ch = ch + ('a' - 'A');
?
or does that break somewhere?
LER
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749