Skip site navigation (1) Skip section navigation (2)

Re: problem connecting via ODBC when unicode (now in correct forum.).

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: Kim Mortensen <kimfmx(at)gmail(dot)com>
Cc: Hiroshi Saito <hiroshi(at)winpg(dot)jp>, pgsql-odbc(at)postgresql(dot)org
Subject: Re: problem connecting via ODBC when unicode (now in correct forum.).
Date: 2011-01-21 21:36:47
Message-ID: 4D39FC6F.5090303@gmail.com (view raw or flat)
Thread:
Lists: pgsql-odbc
On 01/21/2011 01:28 PM, Kim Mortensen wrote:
> But the connector is configures individually and I specify the encoding
> by the configuration string sat in the JDBC driver. this string sets the
> encoding, but apparently it does not work.
>

It is a chicken and egg problem. The problem is that to set the encoding 
you have to connect but to connect the client needs to be using the 
correct encoding. In Windows, it seems the ODBC driver is sending the 
connection string in the wrong encoding and you never actually connect.


-- 
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

pgsql-odbc by date

Next:From: Tom LaneDate: 2011-01-21 22:17:00
Subject: Re: problem connecting via ODBC when unicode (now in correct forum.).
Previous:From: Kim MortensenDate: 2011-01-21 21:28:43
Subject: Re: problem connecting via ODBC when unicode (now in correct forum.).

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group