Re: Locale bug?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Locale bug?
Дата
Msg-id 200408102129.04838.peter_e@gmx.net
обсуждение исходный текст
Ответ на Locale bug?  (Václav Vozár <vaclav.vozar@emicad.cz>)
Список pgsql-bugs
Václav Vozár wrote:
> if I choose in new version 8.0 for win32 czech locales then
> lc-collate is czech_czech republic.1250. So I suppose that strings
> are compared by WIN1250 charset, but database encoding can't be set
> as WIN1250 (only ISO8859-2=LATIN2) and then ORDER BY don't work
> correctly. I try make initdb myself, but locales cs_CZ.ISO8859-2 is
> wrong name. Where I find suported locales with corect names? Or where
> is problem?

Did you set your client encoding?  If not, you are probably inserting
WIN 1250-encoded characters without the system knowing about it.  If
that happens, the ordering can be incorrect.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

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

Предыдущее
От: bpalmer
Дата:
Сообщение: PG 8.0.0 on OpenBSD problems
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 8.0.0beta1: make check fails on solaris8