collation & UTF-8

Поиск
Список
Период
Сортировка
От Tomi NA
Тема collation & UTF-8
Дата
Msg-id d487eb8e0602240923i7cc6c1f8m70440615fdf9c252@mail.gmail.com
обсуждение исходный текст
Ответы Re: collation & UTF-8  (Martijn van Oosterhout <kleptog@svana.org>)
Список 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 по дате отправления:

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: ltree + gist index performance degrades
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: collation & UTF-8