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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-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

Browse pgsql-bugs by date

  From Date Subject
Next Message Justin Clift 2001-02-20 03:30:26 Re: Turkish locale bug
Previous Message Tom Lane 2001-02-20 03:00:41 Re: [HACKERS] Re: Turkish locale bug

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Clift 2001-02-20 03:30:26 Re: Turkish locale bug
Previous Message Tom Lane 2001-02-20 03:00:41 Re: [HACKERS] Re: Turkish locale bug