From: Ludek Finstrle <luf@pzkagis.cz>
To: Jaime Casanova <systemguards@gmail.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: is there a default client encoding?
Date: Thu, 26 Jan 2006 20:03:06 +0100
Message-ID: <20060126190306.GA11919@soptik.pzkagis.cz> (raw)
In-Reply-To: <c2d9e70e0601261057p42537f61m24bd8646ee571e80@mail.gmail.com>
References: <c2d9e70e0601261057p42537f61m24bd8646ee571e80@mail.gmail.com>
> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: luf@pzkagis.cz, systemguards@gmail.com
Subject: Re: is there a default client encoding?
In-Reply-To: <20060126190306.GA11919@soptik.pzkagis.cz>
References: <c2d9e70e0601261057p42537f61m24bd8646ee571e80@mail.gmail.com> <20060126190306.GA11919@soptik.pzkagis.cz>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox