X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A0DA1D8127 for ; Mon, 31 Oct 2005 09:50:07 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 86817-09 for ; Mon, 31 Oct 2005 13:50:03 +0000 (GMT) Received: from web35511.mail.mud.yahoo.com (web35511.mail.mud.yahoo.com [66.163.179.135]) by svr1.postgresql.org (Postfix) with SMTP id 1E661DB531 for ; Mon, 31 Oct 2005 09:50:04 -0400 (AST) Received: (qmail 67039 invoked by uid 60001); 31 Oct 2005 13:50:07 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=5TQz2zavNDgjVrEOwQIu94CznnZ4dTZyD7tXQbqZySqG/42Scvm1FaKKzji4sYvnWBrcjSXr8D5rxdjvDAg0Ejs6cUQCCjf8FxX+fU9qzxwQrbT4uK22rxPGv7mZSMwaifhd0THJbhBkEgATpMWaB+/8ue2bjFwfb+haSJgm2NI= ; Message-ID: <20051031135006.67037.qmail@web35511.mail.mud.yahoo.com> Received: from [201.24.118.95] by web35511.mail.mud.yahoo.com via HTTP; Mon, 31 Oct 2005 13:50:06 GMT Date: Mon, 31 Oct 2005 13:50:06 +0000 (GMT) From: Carlos Benkendorf Subject: Special portuguese characters are not displayed in 08.00.01.02 To: pgsql-odbc@postgresql.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-312494119-1130766606=:66651" Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.346 required=5 tests=[AWL=-0.134, DNS_FROM_RFC_ABUSE=0.479, HTML_MESSAGE=0.001] X-Spam-Score: 0.346 X-Spam-Level: X-Archive-Number: 200510/129 X-Sequence-Number: 6231 --0-312494119-1130766606=:66651 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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! --0-312494119-1130766606=:66651 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
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! --0-312494119-1130766606=:66651--