Re: Sorting in Unicode not working

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Sorting in Unicode not working
Дата
Msg-id 24749.1081515199@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Sorting in Unicode not working  (Hitesh Bagadiya <bagadiya@yahoo.com>)
Ответы Re: Sorting in Unicode not working
Re: Sorting in Unicode not working
Список pgsql-general
Hitesh Bagadiya <bagadiya@yahoo.com> writes:
> Our database contains Hindi as well as English characters. We
> have specified the encoding to be unicode during initdb as well
> as createdb commands.
> Unfortunately sorting of the Hindi fields is not working.

You need to make sure you initdb with the right locale, not only
the right encoding.  I dunno which locale you want ... but if
sort(1) sorts the way you want then Postgres should too.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ERROR: invalid memory alloc request size 0
Следующее
От: Scott Ribe
Дата:
Сообщение: Why would query return PGRES_NONFATAL_ERROR?