Re: Charset Win1250 on Windows and Ubuntu

From: Durumdara <durumdara(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Charset Win1250 on Windows and Ubuntu
Date: 2009-12-21 09:26:51
Message-ID: 9e384ef60912210126j345fa4f2r86aecac411a3c73c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi!

2009/12/19 Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>

> 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alex - 2009-12-21 09:38:31 Re: PL/Perl Performance Problems
Previous Message Dave Page 2009-12-21 08:43:55 Re: PostgreSQL@FOSDEM 2010 - Call for talks