Re: Charset Win1250 on Windows and Ubuntu - Mailing list pgsql-general

From Albe Laurenz
Subject Re: Charset Win1250 on Windows and Ubuntu
Date
Msg-id D960CB61B694CF459DCFB4B0128514C2039380E4@exadv11.host.magwien.gv.at
Whole thread Raw
In response to Re: Charset Win1250 on Windows and Ubuntu  (Durumdara <durumdara@gmail.com>)
Responses Re: Charset Win1250 on Windows and Ubuntu  (Durumdara <durumdara@gmail.com>)
List pgsql-general
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

pgsql-general by date:

Previous
From: Adam Tauno Williams
Date:
Subject: Re: Something like Oracle Forms, but Open Source to use with PostgreSQL?
Next
From: Alban Hertroys
Date:
Subject: Re: Something like Oracle Forms, but Open Source to use with PostgreSQL?