Re: Locale bug? - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: Locale bug?
Date
Msg-id 200408102129.04838.peter_e@gmx.net
Whole thread Raw
In response to Locale bug?  (Václav Vozár <vaclav.vozar@emicad.cz>)
List 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 by date:

Previous
From: bpalmer
Date:
Subject: PG 8.0.0 on OpenBSD problems
Next
From: Tom Lane
Date:
Subject: Re: 8.0.0beta1: make check fails on solaris8