2009/12/21 Albe Laurenz <laurenz.albe@xxxxxxxxxx>
And what happening what DB recognize not win1250 character in SQL?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?There may be special Python functions, but you can use the following
> The main problem that I don't want to set this value globally
> - possible another applications want to use another encoding...
SQL statement: SET client_encoding TO 'WIN1250'
Is it converted to "?" or an exception dropped?
And if the UTF db contains non win1250 character?
Is it replaced in result with "?" or some exception dropped?
Thanks:
dd