Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wdpjk-0003Oe-CG for pgsql-odbc@arkaria.postgresql.org; Fri, 25 Apr 2014 23:40:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wdpjj-0005lz-SY for pgsql-odbc@arkaria.postgresql.org; Fri, 25 Apr 2014 23:40:55 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wdpjh-0005li-NU for pgsql-odbc@postgresql.org; Fri, 25 Apr 2014 23:40:54 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wdpje-0007eZ-Cr for pgsql-odbc@postgresql.org; Fri, 25 Apr 2014 23:40:52 +0000 Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id CB6D020F5F for ; Fri, 25 Apr 2014 19:40:48 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Fri, 25 Apr 2014 19:40:48 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; s=mesmtp; bh=NP6/8XlIaXaagNMeAcnGFle/p0M=; b=IRB7xWnWkkEHcgOf3X8ejaxGmtKA xZi69DtEKUc2cXsbOCvL6dtTXBgM7srTZnX5eNy5Zc6zV2FSH0FSCSaQEwo1wnvX WQM37WsE5t9yhKh/KeLJik51aR2/JBwsoumYBJKxwd5k8Sf+m5QDazP/WKlyRLo4 +pFp/USjGjXj/IA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=NP6/8XlIaXaagNMeAcnGFl e/p0M=; b=WZrZmRv02ItLSxOkP+9B8N5DeYZMLfDYOvb13KmaG7pJpqwsCagiPn FG9m89JAenrUUqx4194parJTmKDfIeeRO+QxSXXjigOj+g21z8e6RigM64NrG0HS Mc9Hm3K5kKXBdiwJuPqNm/k3q0OrUKT1GuXVSx/L9nqDgTxXrVP+s= X-Sasl-enc: b1XTYpAF4c7WUMpjr/x+oYuZlLxWiMUh9KnBtumPvc+y 1398469248 Received: from panda.site (unknown [65.102.186.57]) by mail.messagingengine.com (Postfix) with ESMTPA id 6330DC00003; Fri, 25 Apr 2014 19:40:48 -0400 (EDT) Message-ID: <535AF27F.6060006@aklaver.com> Date: Fri, 25 Apr 2014 16:40:47 -0700 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Pierre Couderc , pgsql-odbc@postgresql.org Subject: Re: Transcoding problem with wine and unixodbc References: <535A4BAA.7050403@couderc.eu> In-Reply-To: <535A4BAA.7050403@couderc.eu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.7 (--) 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 On 04/25/2014 04:48 AM, Pierre Couderc wrote: > 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. Hmm. I would have expected different results. Are you sure your program actually picked up the change in drivers? > For exemple <è> becomes <Ã"> (in 2 characters). Can you get a psql connection to the database? And if so what does it show? Also what exactly is the encoding your client is using? > > Any hint welcome... > > -- Adrian Klaver adrian.klaver@aklaver.com -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc