Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wded4-0003IY-AO for pgsql-odbc@arkaria.postgresql.org; Fri, 25 Apr 2014 11:49:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wded3-0007pR-9c for pgsql-odbc@arkaria.postgresql.org; Fri, 25 Apr 2014 11:49:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wded2-0007pK-Hh for pgsql-odbc@postgresql.org; Fri, 25 Apr 2014 11:49:16 +0000 Received: from smtp3-g21.free.fr ([212.27.42.3]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wdecw-0000hg-OJ for pgsql-odbc@postgresql.org; Fri, 25 Apr 2014 11:49:15 +0000 Received: from [192.168.163.33] (unknown [78.234.252.95]) by smtp3-g21.free.fr (Postfix) with ESMTP id 1A0B2A6243 for ; Fri, 25 Apr 2014 13:48:40 +0200 (CEST) Message-ID: <535A4BAA.7050403@couderc.eu> Date: Fri, 25 Apr 2014 13:48:58 +0200 From: Pierre Couderc User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.4.0 MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Transcoding problem with wine and unixodbc Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org I am still trying to excute a MFC application (working with psqlodbc under WinXP) under wine, unix psqlodbc, and unixodbc. My application is in ANSI, but the DB is in Unicode, so under Windows, I use Postgrsql Unicode driver (which transcodes..?) without any problem. Under wine, I have tried the 2 drivers (psqlodbcw.so and psqlodbca.so) and with the same incorrect result. For exemple <è> becomes <Ã"> (in 2 characters). Any hint welcome... -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc