Re: Re: [BUGS] Turkish locale bug - Mailing list pgsql-hackers

From Larry Rosenman
Subject Re: Re: [BUGS] Turkish locale bug
Date
Msg-id 20010219211523.A4559@lerami.lerctr.org
Whole thread Raw
In response to Re: Re: [BUGS] Turkish locale bug  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
* 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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: [BUGS] Turkish locale bug
Next
From: Justin Clift
Date:
Subject: Re: Turkish locale bug