pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@gmail.com>
To: Kim Mortensen <kimfmx@gmail.com>
Cc: Hiroshi Saito <hiroshi@winpg.jp>
Cc: pgsql-odbc@postgresql.org
Subject: Re: problem connecting via ODBC when unicode (now in correct forum.).
Date: Fri, 21 Jan 2011 13:36:47 -0800
Message-ID: <4D39FC6F.5090303@gmail.com> (raw)
In-Reply-To: <AANLkTi=___v-bo-UHZtg5=6xPwEeMXJx3y+ZC6SzTOVD@mail.gmail.com>
References: <AANLkTinuVY9b8_unwNBL+-ijWJn8hA=mrAdapkwAPM4v@mail.gmail.com>
	<201101210806.06568.adrian.klaver@gmail.com>
	<AANLkTi=o0SACjKACKkZ5ZQ_HZyCPqveVZnSmvVPvpNUu@mail.gmail.com>
	<201101210833.49544.adrian.klaver@gmail.com>
	<AANLkTik785cfgrAHipBeJe+OKqxdpKYS0si=uaPhPK1M@mail.gmail.com>
	<4D39CD82.6070101@winpg.jp>
	<AANLkTimYsGV2cVmtY7JBgh1yrR2N2HW+NryEBa4MhB78@mail.gmail.com>
	<4D39EC6A.6060304@gmail.com>
	<AANLkTinX-Re+QXPhCb8PqatteaTthKnMtitQ2inuhgZh@mail.gmail.com>
	<4D39F6F8.3080700@gmail.com>
	<AANLkTi=___v-bo-UHZtg5=6xPwEeMXJx3y+ZC6SzTOVD@mail.gmail.com>

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.klaver@gmail.com



view thread (15+ messages)  latest in thread

Message-ID: <4D39FC6F.5090303@gmail.com>
Permalink:  ../4D39FC6F.5090303@gmail.com/
Also on:    postgresql.org/message-id/4D39FC6F.5090303@gmail.com

 · 

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: adrian.klaver@gmail.com, kimfmx@gmail.com, hiroshi@winpg.jp
  Subject: Re: problem connecting via ODBC when unicode (now in correct forum.).
  In-Reply-To: <4D39FC6F.5090303@gmail.com>
  References: <AANLkTinuVY9b8_unwNBL+-ijWJn8hA=mrAdapkwAPM4v@mail.gmail.com> <201101210806.06568.adrian.klaver@gmail.com> <AANLkTi=o0SACjKACKkZ5ZQ_HZyCPqveVZnSmvVPvpNUu@mail.gmail.com> <201101210833.49544.adrian.klaver@gmail.com> <AANLkTik785cfgrAHipBeJe+OKqxdpKYS0si=uaPhPK1M@mail.gmail.com> <4D39CD82.6070101@winpg.jp> <AANLkTimYsGV2cVmtY7JBgh1yrR2N2HW+NryEBa4MhB78@mail.gmail.com> <4D39EC6A.6060304@gmail.com> <AANLkTinX-Re+QXPhCb8PqatteaTthKnMtitQ2inuhgZh@mail.gmail.com> <4D39F6F8.3080700@gmail.com> <AANLkTi=___v-bo-UHZtg5=6xPwEeMXJx3y+ZC6SzTOVD@mail.gmail.com> <4D39FC6F.5090303@gmail.com>

* 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