Re: Charset Win1250 on Windows and Ubuntu
От | Durumdara |
---|---|
Тема | Re: Charset Win1250 on Windows and Ubuntu |
Дата | |
Msg-id | 9e384ef60912210126j345fa4f2r86aecac411a3c73c@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Charset Win1250 on Windows and Ubuntu ("Albe Laurenz" <laurenz.albe@wien.gv.at>) |
Ответы |
Re: Charset Win1250 on Windows and Ubuntu
Re: Charset Win1250 on Windows and Ubuntu Re: Charset Win1250 on Windows and Ubuntu |
Список | pgsql-general |
Hi!
So if I have Python and pygresql, can I set this value in Python?
The main problem that I don't want to set this value globally - possible another applications want to use another encoding...
Thanks for your help:
dd
2009/12/19 Albe Laurenz <laurenz.albe@wien.gv.at>
If you need the data in WIN1250 on the client side, change the client encoding to WIN1250.
So:
- Create the database with UTF8.
- Change the client encoding to WIN1250 (e.g. by setting the environment variable PGCLIENTENCODING).
- Import the dump of the Windows database. It will be converted to UTF-8.
- Make sure that the client program has client encoding WIN1250.
Yours,
Laurenz Albe
So if I have Python and pygresql, can I set this value in Python?
The main problem that I don't want to set this value globally - possible another applications want to use another encoding...
Thanks for your help:
dd
В списке pgsql-general по дате отправления: