Re: Re: [BUGS] Turkish locale bug

Поиск
Список
Период
Сортировка
От Larry Rosenman
Тема Re: Re: [BUGS] Turkish locale bug
Дата
Msg-id 20010219211523.A4559@lerami.lerctr.org
обсуждение исходный текст
Ответ на Re: Re: [BUGS] Turkish locale bug  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: [BUGS] Turkish locale bug
Следующее
От: Justin Clift
Дата:
Сообщение: Re: Turkish locale bug