* Tom Lane <[EMAIL PROTECTED]> [010219 21:02]:
> Larry Rosenman <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

Reply via email to