Re: Charset Win1250 on Windows and Ubuntu

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Durumdara *EXTERN*" <durumdara(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Charset Win1250 on Windows and Ubuntu
Date: 2009-12-21 12:52:22
Message-ID: D960CB61B694CF459DCFB4B0128514C2039380E4@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2009-12-21 13:44:00 Re: Cheapest way to poll for notifications? & Driver improvement question re SSL and notify
Previous Message Craig Ringer 2009-12-21 12:27:05 Re: Cheapest way to poll for notifications? & Driver improvement question re SSL and notify