pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pierre Couderc <pierre@couderc.eu>
To: pgsql-odbc@postgresql.org
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Subject: Re: Transcoding problem with wine and unixodbc
Date: Fri, 02 May 2014 17:59:59 +0200
Message-ID: <5363C0FF.1050409@couderc.eu> (raw)
In-Reply-To: <535A4BAA.7050403@couderc.eu>
References: <535A4BAA.7050403@couderc.eu>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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...
>
>



-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (8+ messages)

Message-ID: <5363C0FF.1050409@couderc.eu>
Permalink:  ../5363C0FF.1050409@couderc.eu/
Also on:    postgresql.org/message-id/5363C0FF.1050409@couderc.eu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: pierre@couderc.eu, adrian.klaver@aklaver.com
  Subject: Re: Transcoding problem with wine and unixodbc
  In-Reply-To: <5363C0FF.1050409@couderc.eu>
  References: <535A4BAA.7050403@couderc.eu> <5363C0FF.1050409@couderc.eu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox