Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Re: Turkish locale bug

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: pgsql-bugs(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] Re: Turkish locale bug
Date: 2001-02-20 03:15:23
Message-ID: 20010219211523.A4559@lerami.lerctr.org (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-hackers
* Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> [010219 21:02]:
> Larry Rosenman <ler(at)lerctr(dot)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(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

In response to

pgsql-hackers by date

Next:From: Justin CliftDate: 2001-02-20 03:30:26
Subject: Re: Turkish locale bug
Previous:From: Tom LaneDate: 2001-02-20 03:00:41
Subject: Re: [HACKERS] Re: Turkish locale bug

pgsql-bugs by date

Next:From: Justin CliftDate: 2001-02-20 03:30:26
Subject: Re: Turkish locale bug
Previous:From: Tom LaneDate: 2001-02-20 03:00:41
Subject: Re: [HACKERS] Re: Turkish locale bug

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group