| From: | Alban Hertroys <dalroi(at)solfertje(dot)student(dot)utwente(dot)nl> |
|---|---|
| To: | Durumdara <durumdara(at)gmail(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Charset Win1250 on Windows and Ubuntu |
| Date: | 2009-12-21 10:45:10 |
| Message-ID: | 968C401E-0008-48E1-A233-A391AFA01CE4@solfertje.student.utwente.nl |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On 21 Dec 2009, at 10:26, Durumdara wrote:
> 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....
Sure you can, just execute SET client_encoding TO 'WIN1250' once you've set up your connection. You can even do that between queries if your client encoding requirements change between queries.
Alban Hertroys
--
If you can't see the forest for the trees,
cut the trees and you'll see there is no forest.
!DSPAM:737,4b2f51b9228057414011521!
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Mike Christensen | 2009-12-21 10:46:59 | Question about the ANY operator |
| Previous Message | Malm Paul | 2009-12-21 10:24:02 | import warnings ? |