Re: case insensitive search with greek characters

Поиск
Список
Период
Сортировка
От Giannis Vrentzos
Тема Re: case insensitive search with greek characters
Дата
Msg-id 41204B52.8000702@gvre.gr
обсуждение исходный текст
Ответ на Re: case insensitive search with greek characters  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom Lane wrote:
> Giannis Vrentzos <gvre@NOSPAM.gvre.gr> writes:
>
>>... everything is fine. As you can see the problem is at char α .
>>I 'm using ENCODING = 'ISO_8859_7'. I also tried with unicode but no luck.
>
>
> upper/lower casing behavior depends on locale, not encoding (though you
> also need to be sure your encoding is what the selected locale expects).
> I suspect you initdb'd with the wrong locale environment settings.
> Check by doing
>     show lc_ctype;
>     show lc_collate;
> If it's not the right thing then you'll need to re-initdb :-(

The problem is not with upper-lower case but with one letter (α) and
(ά). I executed show lc_ctype and show lc_collate and postgres returned
'Greek_Greece.1253' and i cannot find an encode like this in postgres. I
also don't want to change the encoding every time i change the db server
machine.

Thanks for responding,
Gvre

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

Предыдущее
От: "Maurizio Merli"
Дата:
Сообщение: PostgreSQL 8.0.0 - Win32 C-Language function how to?
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: PostgreSQL 8.0 Feature List?