Re: Transcoding problem with wine and unixodbc

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Pierre Couderc <pierre(at)couderc(dot)eu>, pgsql-odbc(at)postgresql(dot)org
Subject: Re: Transcoding problem with wine and unixodbc
Date: 2014-04-25 23:40:47
Message-ID: 535AF27F.6060006@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

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(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Malcolm MacLeod 2014-04-29 16:44:47 CC_send_query_append crash
Previous Message Fred Parkinson 2014-04-25 17:43:17 Re: Whose is padding the fields?