Skip site navigation (1) Skip section navigation (2)

Re: is there a default client encoding?

From: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
To: Neil Best <nbest(at)ci(dot)uchicago(dot)edu>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: is there a default client encoding?
Date: 2009-07-15 03:56:07
Message-ID: 4A5D5357.60506@tpf.co.jp (view raw or flat)
Thread:
Lists: pgsql-odbc
Neil Best wrote:
> 
> 
> Ludek Finstrle-2 wrote:
>>
>> psqlODBC tries to do it automatically for you. If you want see what
>> client_encoding is used enable mylog output and there is called
>> set client_encoding in the relative begin of mylog.
>>
>> . . . 
>>
>> The psqlODBC has strange behaviour. It set automatic client_encoding
>> _after_ user defined connection settings. So you could change the
>> client encoding only from application. You could call
>> set client_encoding SQL statement.
>>
> 
> Is this still how the driver behaves?  I don't see client_encoding
> explicitly in mylog when I leave the Connection Settings input blank in the
> ODBC configuration.  I have tried entering "set client_encoding = 'WIN874';"
> and it seems to be ignored altogether.

Please try to enter "set client_encoding to 'WIN874'".

regards,
Hiroshi Inoue


In response to

pgsql-odbc by date

Next:From: Albe LaurenzDate: 2009-07-15 07:35:15
Subject: Re: help compiling psqldobc-08.03.0400
Previous:From: Hiroshi InoueDate: 2009-07-15 03:23:09
Subject: Re: Any plans to support SQLDescribeParam (and friends) ?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group