Re: cp1250 problem

Поиск
Список
Период
Сортировка
От Achilleas Mantzios
Тема Re: cp1250 problem
Дата
Msg-id 201102151326.58744.achill@matrix.gatewaynet.com
обсуждение исходный текст
Ответ на cp1250 problem  (Lukasz Brodziak <lukasz.brodziak@gmail.com>)
Ответы Re: cp1250 problem  (Jan-Peter Seifert <Jan-Peter.Seifert@gmx.de>)
Список pgsql-admin
Στις Tuesday 15 February 2011 12:44:31 ο/η Lukasz Brodziak έγραψε:
> Hello,
>
> How can I set PostgreSQL locale and encoding to be pl_PL.cp1250 all I
> can do is pl_PL.UTF-8.
> I have PG 8.2.4 on Ubuntu 10.04 (polish version).
>

I had similar issues with the Greek ISO locale/encoding and the UTF one.
If i had known earlier i would have implemented UTF since day one.
UTF-8 support is pretty mature, so i dont see any reason for people to
hold back to ISO encodings (in year 2011!)

The locale for your whole cluster is defined in postgresql.conf.
(and i believe the value is inherited by the ENV variables at initdb time)
Now each database has its *own* encoding.
psql -l
lists who has what.


> --
> Łukasz Brodziak
> "What if everyting around You isn't quite as it seems,
> What if all the world You think You know is an inelaborate dream
> When You look at Your reflection is that all you want it to be
> What if You could look right through the cracks
> Would You find Yourself...... Find Yourself afraid to see"
>



--
Achilleas Mantzios

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

Предыдущее
От: Lukasz Brodziak
Дата:
Сообщение: cp1250 problem
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: pg_dump not working