collation & UTF-8 - Mailing list pgsql-general

From Tomi NA
Subject collation & UTF-8
Date
Msg-id d487eb8e0602240923i7cc6c1f8m70440615fdf9c252@mail.gmail.com
Whole thread Raw
Responses Re: collation & UTF-8  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-general
I'm using PosgreSQL 8.1.2 on linux and want to load UTF-8 encoded varchars.
While I can store and get at stored text correctly, the ORDER BY places all accented characters (Croatian, in this case - probably marked hr_HR) after non-accented characters.
This is no showstopper, but it does affect the general perception of application quality.

Now, I've seen the issue mentioned in a number of places, but often with fairly old versions of pgsql (<8.0), in different circumstances etc. so my question is:
is there an official way to set up UTF8 collation so that "SELECT first_name FROM persons ORDER BY first_name" works as expected?

TIA,
Tomislav

pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: ltree + gist index performance degrades
Next
From: Martijn van Oosterhout
Date:
Subject: Re: collation & UTF-8