Re: Transcoding problem with wine and unixodbc

From: Pierre Couderc <pierre(at)couderc(dot)eu>
To: pgsql-odbc(at)postgresql(dot)org
Cc: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Subject: Re: Transcoding problem with wine and unixodbc
Date: 2014-05-02 15:59:59
Message-ID: 5363C0FF.1050409@couderc.eu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

I answer myself.
Add :
"ConnSettings=SET CLIENT_ENCODING to 'LATIN1'
in odbc.ini

Thank you, Adrian, you did put me in the good direction.

On 04/25/2014 01:48 PM, 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.
> For exemple <è> becomes <Ã"> (in 2 characters).
>
> Any hint welcome...
>
>

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Adrian Klaver 2014-05-02 19:53:42 Re: error code 126
Previous Message e-mail anilkumar 2014-05-02 15:35:21 error code 126