pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedis there a default client encoding?
3+ messages / 2 participants
[nested] [flat]
* is there a default client encoding?
@ 2006-01-26 18:57 Jaime Casanova <systemguards@gmail.com>
2006-01-26 19:03 ` Re: is there a default client encoding? Ludek Finstrle <luf@pzkagis.cz>
0 siblings, 1 reply; 3+ messages in thread
From: Jaime Casanova @ 2006-01-26 18:57 UTC (permalink / raw)
To: pgsql-odbc
Hi,
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?
the question is because before i meet linux i never heard the term
encoding... windows does everything for you and hides all this littles
things (so when i start using the odbc driver in windows i never use
client_encoding command now i know that is why some client
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?
--
regards,
Jaime Casanova
(DBA: DataBase Aniquilator ;)
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: is there a default client encoding?
2006-01-26 18:57 is there a default client encoding? Jaime Casanova <systemguards@gmail.com>
@ 2006-01-26 19:03 ` Ludek Finstrle <luf@pzkagis.cz>
2006-01-26 19:34 ` Re: is there a default client encoding? Jaime Casanova <systemguards@gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Ludek Finstrle @ 2006-01-26 19:03 UTC (permalink / raw)
To: Jaime Casanova <systemguards@gmail.com>; +Cc: 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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: is there a default client encoding?
2006-01-26 18:57 is there a default client encoding? Jaime Casanova <systemguards@gmail.com>
2006-01-26 19:03 ` Re: is there a default client encoding? Ludek Finstrle <luf@pzkagis.cz>
@ 2006-01-26 19:34 ` Jaime Casanova <systemguards@gmail.com>
0 siblings, 0 replies; 3+ messages in thread
From: Jaime Casanova @ 2006-01-26 19:34 UTC (permalink / raw)
To: Ludek Finstrle <luf@pzkagis.cz>; +Cc: pgsql-odbc
>
> I hope I have answered you
>
> Luf
>
yes... with a very good answer... i will look at the code to see how
psqlODBC tries to guess the encoding... thanx a lot...
--
regards,
Jaime Casanova
(DBA: DataBase Aniquilator ;)
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2006-01-26 19:34 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-01-26 18:57 is there a default client encoding? Jaime Casanova <systemguards@gmail.com>
2006-01-26 19:03 ` Ludek Finstrle <luf@pzkagis.cz>
2006-01-26 19:34 ` Jaime Casanova <systemguards@gmail.com>
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