Re: encoding and locale

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: encoding and locale
Дата
Msg-id 200507162143.10861.peter_e@gmx.net
обсуждение исходный текст
Ответ на encoding and locale  (Christian Traber <christian@traber-net.de>)
Список pgsql-general
Christian Traber wrote:
> Now I know a I cannot use every lc_ctype with every encoding,
> but where can I find a list of valid encoding/locale combinations?

Try something like the following:

for x in $(locale -a); do echo -n "$x: "; LC_ALL=$x locale charmap; done

Unfortunately, the name of the encoding that the locale system uses
might differ from the locale name that PostgreSQL uses, so you will
have to be able to see through that.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

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

Предыдущее
От: Jiří Němec
Дата:
Сообщение: Re: PostgreSQL select
Следующее
От: Garrett Kalleberg
Дата:
Сообщение: foreign key constraints and inheritence