pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pierre Couderc <pierre@couderc.eu>
To: Adrian Klaver <adrian.klaver@aklaver.com>
To: pgsql-odbc@postgresql.org
Subject: Re: Transcoding problem with wine and unixodbc
Date: Fri, 02 May 2014 17:29:25 +0200
Message-ID: <5363B9D5.4040700@couderc.eu> (raw)
In-Reply-To: <536117F3.5060700@aklaver.com>
References: <535A4BAA.7050403@couderc.eu>
	<535AF27F.6060006@aklaver.com>
	<5360A4FD.9050907@couderc.eu>
	<53610446.4000901@aklaver.com>
	<53610A88.90501@couderc.eu>
	<536117F3.5060700@aklaver.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

Le 30/04/2014 17:34, Adrian Klaver a écrit :
> On 04/30/2014 07:36 AM, Pierre Couderc wrote:
>> Thank you. I comment.
>
>
>>>
>> As expected by me, as pgAdminIII, psql prints correctly.
>
> Just to be clear where are you connecting from with psql?
Well, I open a terminal on my amd64 debia, jessie, and I ise psql from it.
> , I open a
>
>
>>> ANSI is a general term. What is important is what character
>>> set(encoding) you are actually using in your application.
>>>
>> LATIN1 (ISO-8859-1),
>
> Well that should work with the Unicode driver. My guess is there is
> some sort of confusion of what the encoding is between the app -
> psqlodbc - Postgres.
>
yes.
> Is the database you are using only used by your application?
>
> If it is, one possible troubleshooting method would be to set
> client_encoding in postgresql.conf to latin1.  This will affect all
> the clients connecting to your database, so use with care. For more
> information see below:
>
> http://www.postgresql.org/docs/9.3/interactive/runtime-config-client.html#RUNTIME-CONFIG-CLIENT-FORM...
>
>
> http://www.postgresql.org/docs/9.3/interactive/multibyte.html#MULTIBYTE-CHARSET-SUPPORTED
>
>
>
No, I have many clients.
I must find a way to specify that THIS Client is LATIN1. Is there not a 
way to specify it in a connect string ? I find notrhing in the doc.

>>>> And I do not know who is responsible for translation, normally it
>>>> should
>>>> be the unixodbc or psqlodbc..
>>
>>
>
>



-- 
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)  latest in thread

Message-ID: <5363B9D5.4040700@couderc.eu>
Permalink:  ../5363B9D5.4040700@couderc.eu/
Also on:    postgresql.org/message-id/5363B9D5.4040700@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: <5363B9D5.4040700@couderc.eu>
  References: <535A4BAA.7050403@couderc.eu> <535AF27F.6060006@aklaver.com> <5360A4FD.9050907@couderc.eu> <53610446.4000901@aklaver.com> <53610A88.90501@couderc.eu> <536117F3.5060700@aklaver.com> <5363B9D5.4040700@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