Durumdara wrote: >> - Change the client encoding to WIN1250 (e.g. by >> setting the environment variable PGCLIENTENCODING). > > 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... There may be special Python functions, but you can use the following SQL statement: SET client_encoding TO 'WIN1250' Yours, Laurenz Albe -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general