2009/12/19 Albe Laurenz <laurenz.albe@xxxxxxxxxx>
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