Re: LC_COLLATE UTF-8 Locales on Windows?

Поиск
Список
Период
Сортировка
От wdrose
Тема Re: LC_COLLATE UTF-8 Locales on Windows?
Дата
Msg-id 1325123842303-5106571.post@n5.nabble.com
обсуждение исходный текст
Ответ на LC_COLLATE UTF-8 Locales on Windows?  (William Rose <wrose@terraframe.com>)
Ответы Re: LC_COLLATE UTF-8 Locales on Windows?  ("Jean-Yves F. Barbier" <12ukwn@gmail.com>)
Список pgsql-novice
Ok, I finally found the solution for this. Posting what worked for me, for
posterity. For some reason,

select name collate "Arabic_Saudi Arabia.1256" from forms order by name asc;

doesn't work. But if I do

create collation arabic (locale='Arabic_Saudi Arabia.1256');

and then

select name collate "arabic" from forms order by name asc;

it works and allows me to collate UTF-8 by any locale, as mentioned in the
PostgreSQL documentation.

--
View this message in context:
http://postgresql.1045698.n5.nabble.com/LC-COLLATE-UTF-8-Locales-on-Windows-tp5104187p5106571.html
Sent from the PostgreSQL - novice mailing list archive at Nabble.com.

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

Предыдущее
От: William Rose
Дата:
Сообщение: LC_COLLATE UTF-8 Locales on Windows?
Следующее
От: "Jean-Yves F. Barbier"
Дата:
Сообщение: Re: LC_COLLATE UTF-8 Locales on Windows?