Re: [HACKERS] another locale problem

Поиск
Список
Период
Сортировка
От Angelos Karageorgiou
Тема Re: [HACKERS] another locale problem
Дата
Msg-id Pine.BSI.4.05L.9906111146580.6465-100000@awesome.incredible.com
обсуждение исходный текст
Ответ на Re: [HACKERS] another locale problem  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Ответы Re: [HACKERS] another locale problem
Список pgsql-hackers
On Fri, 11 Jun 1999, Tatsuo Ishii wrote:

> 
> Ok. Now I almost certain that:
> 
>                         (strcmp(opname,"~*")
> == 0 && isalpha((unsigned char)n->val.val.str[pos])))
> 
> should work for you. Can you confirm this?
> --
> Tatsuo Ishii
> 


It did for me , BSD/OS is veeeery finicky with the way it treats chars. It 
upgrades them to ints and from then on isalpha isupper do not work.
I have tried with --unsigned-char gcc switch the result was the same, only
with a cast to (unsigned char) do all the char related functions work
as advertised.

I am sorry to say I have not had any input from other internationals using
BSDI with a non-english character set.


-- 
Incredible Networks LTD       Angelos Karageorgiou
20 Karea st,                  +30.1.92.12.312 (voice)
116 36 Athens, Greece.        +30.1.92.12.314 (fax)
http://www.incredible.com     angelos@incredible.com (e-mail)



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [HACKERS] another locale problem
Следующее
От: Daniel Kalchev
Дата:
Сообщение: Re: [HACKERS] another locale problem