X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 92E1F5284B for ; Tue, 21 Jun 2005 14:22:38 -0300 (ADT) 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 60752-01 for ; Tue, 21 Jun 2005 17:22:30 +0000 (GMT) Received: from soln-sr690.solutionip.com (unknown [66.155.233.70]) by svr1.postgresql.org (Postfix) with ESMTP id 848B052828 for ; Tue, 21 Jun 2005 14:22:24 -0300 (ADT) Received: from [10.250.15.200] (helo=[10.250.15.200]) by soln-sr690.solutionip.com with esmtp (Exim 3.34 #1) id 1DkmRS-0006Bl-00 for pgsql-odbc@postgresql.org; Tue, 21 Jun 2005 13:21:42 -0400 Received: from 127.0.0.1 (AVG SMTP 7.0.323 [267.7.9]); Tue, 21 Jun 2005 13:21:35 +0200 Message-ID: <42B7F83F.3030903@freemail.hu> Date: Tue, 21 Jun 2005 13:21:35 +0200 From: RK User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: hu-hu, hu, en-us, en MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Codepage - problem, latin2 V8 windows db and 8_00_0101 odbc References: <27a5b7d105062017234a129d3d@mail.gmail.com> In-Reply-To: <27a5b7d105062017234a129d3d@mail.gmail.com> Content-Type: multipart/alternative; boundary="------------020205030304040504070002" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.343 tagged_above=0 required=5 tests=DATE_IN_PAST_06_12, HTML_40_50, HTML_MESSAGE, HTML_TITLE_EMPTY X-Spam-Level: X-Archive-Number: 200506/69 X-Sequence-Number: 5456 This is a multi-part message in MIME format. --------------020205030304040504070002 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello! We have an application we used on V8 cygwin with earlier odbc drivers for windows (the latest 7xxxx) and had no problem. Now we switched to V8 windows native database engine and V 8_00_0101 odbc, and this setup eats all the latin2 characters (hungarian: o"u" etc). In postgresql.cnf I set client_encoding to 'latin2'. When when I connect with odbc, the odbc log shows this: DSN info: DSN='pggcp_pet',server='localhost',port='5432',dbase='gcp5',user='postgres',passwd='xxxxx' onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0' conn_settings='',*conn_encoding='OTHER'* translation_dll='',translation_option='' How to set it up in the odbc driver or config? thanks in advance Robert --------------020205030304040504070002 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello!

We have an application we used on V8 cygwin with earlier odbc drivers for windows (the latest
7xxxx) and had no problem.

Now we switched to V8 windows native database engine and V 8_00_0101 odbc,
and this setup eats all the latin2 characters (hungarian: őű etc).

In postgresql.cnf  I set client_encoding to 'latin2'.

When when I connect with odbc, the odbc log shows this:

DSN info: DSN='pggcp_pet',server='localhost',port='5432',dbase='gcp5',user='postgres',passwd='xxxxx'
          onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0'
          conn_settings='',conn_encoding='OTHER'
          translation_dll='',translation_option=''

How to set it up in the odbc driver or config?

thanks in advance

Robert






--------------020205030304040504070002--