Re: is there a default client encoding? - Mailing list pgsql-odbc

From Ludek Finstrle
Subject Re: is there a default client encoding?
Date
Msg-id 20060126190306.GA11919@soptik.pzkagis.cz
Whole thread Raw
In response to is there a default client encoding?  (Jaime Casanova <systemguards@gmail.com>)
Responses Re: is there a default client encoding?  (Jaime Casanova <systemguards@gmail.com>)
Re: is there a default client encoding?  (Neil Best <nbest@ci.uchicago.edu>)
List pgsql-odbc
> i wonder if the odbc driver is sending a default client_encoding to
> the server. if so, what client_encoding? how can i determine it? if
> not, how i know what client encoding my platform uses?

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.

> applications got weird results ;). Well the point is in VB i can't
> send arbitrary commands to the server so how i set it, is the odbc
> doing it? can i change the encoding the odbc is sending?

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.

I hope I have answered you

Luf

pgsql-odbc by date:

Previous
From: Jaime Casanova
Date:
Subject: is there a default client encoding?
Next
From: Jaime Casanova
Date:
Subject: Re: is there a default client encoding?