From: Carlos Benkendorf <carlosbenkendorf@yahoo.com.br>
To: pgsql-odbc@postgresql.org
Subject: Special portuguese characters are not displayed in 08.00.01.02
Date: Mon, 31 Oct 2005 13:50:06 +0000 (GMT)
Message-ID: <20051031135006.67037.qmail@web35511.mail.mud.yahoo.com> (raw)
Hello,
We were using ODBC driver 07.02.00.05 and now we are trying to use ODBC driver version 08.00.01.02 but portuguese special characters are not showed in the right way.
The database was created with encoding LATIN1, postgresql.conf with client_encoding = LATIN1 and we´re not using any command in the "Connect settings" field of the ODBC driver.
The following table is used for the tests:
CREATE TABLE empregado
(
nome char(50)
)
WITH OIDS;
DELPHI 7 SQL Explorer tool is used to emulate an application working with the table through ODBC. Using driver 07.02.00.05 all the data are showed right but when I changed to 08.00.01.02 the contents of column "nome" does not appear any more, only spaces.
If I use pgAdmin III and execute:
SET CLIENT_ENCODING = 'LATIN1';
SELECT * FROM EMPREGADO;
then all the characters are displayed in the right way, even those inserted by SQL Explorer tool.
It could be the DELPHI 7 SQL Explorer tool that is not working well, even so, with 07.02.00.05 the data could be displayed by the tool.
Is it a ODBC driver error or maybe there is something wrong with DELPHI 7 SQL Explorer tool?
Does anybody know another simple way to emulate an application using the ODBC driver?
Thanks!!!
Benkendorf
---------------------------------
Promoção Yahoo! Acesso Grátis: a cada hora navegada você
acumula cupons e concorre a mais de 500 prêmios! Participe!
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: carlosbenkendorf@yahoo.com.br
Subject: Re: Special portuguese characters are not displayed in 08.00.01.02
In-Reply-To: <20051031135006.67037.qmail@web35511.mail.mud.yahoo.com>
References: <20051031135006.67037.qmail@web35511.mail.mud.yahoo.com>
* 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