pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ludek Finstrle <luf@pzkagis.cz>
To: Tim Clarke <Tim.Clarke@manifest.co.uk>
Cc: pgsql-odbc@postgresql.org
Subject: Re: LATIN1/9 conversion....
Date: Thu, 9 Feb 2006 16:21:02 +0100
Message-ID: <20060209152101.GA1178@soptik.pzkagis.cz> (raw)
In-Reply-To: <44D9FC40FD695B4E85F1C59965C27E0FAA4C65@man3.free2.local>
References: <44D9FC40FD695B4E85F1C59965C27E0FAA4C65@man3.free2.local>

Hello,

  I'm not much experienced in encoding.

> You can clearly see my latin1 request followed shortly by the latin9. I
> have examined the ODBC code and it looks like the culprit is a code page
> of 1252.

It could be interesting to see mylog output from Windows.
I don't understand well why it choose latin1 and then latin9.
Don't you specify 'set client_encoding to latin1' in DataSource
settings?
I'm new developer since 08.01 version so please be patient with me.

> Am I tracing this right? What do I do about? Suggestions, please!

You could use way of unicode driver. It use UTF-8 so no error occurs
with latin 1 x latin 9.
It means you may use "PostgreSQL Unicode" driver instead of
"PostgreSQL ANSI"

To other developers:
  Another one user points to problems with win1252 -> Latin 9 mapping.
It seems to me that Latin 9 isn't right default choise for win1252.
What do you mean?

Regards,

Luf



view thread (13+ messages)  latest in thread

Message-ID: <20060209152101.GA1178@soptik.pzkagis.cz>
Permalink:  ../20060209152101.GA1178@soptik.pzkagis.cz/
Also on:    postgresql.org/message-id/20060209152101.GA1178@soptik.pzkagis.cz

 · 

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: luf@pzkagis.cz, Tim.Clarke@manifest.co.uk
  Subject: Re: LATIN1/9 conversion....
  In-Reply-To: <20060209152101.GA1178@soptik.pzkagis.cz>
  References: <44D9FC40FD695B4E85F1C59965C27E0FAA4C65@man3.free2.local> <20060209152101.GA1178@soptik.pzkagis.cz>

* 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