From: Robert Max Kramer <RobertMax.Kramer@gmx.de>
To: pgsql-odbc@postgresql.org
Subject: Driver uses always UTF-8?
Date: Thu, 7 Apr 2005 20:03:47 +0200
Message-ID: <001901c53b9c$2b0f3100$14b2a8c0@rk> (raw)
References: <71837C040963F748B9B94E123A289678415144@mailserver.sandvine.com>
Hello,
I want to substitue an existing DB2 to PG 8 and got a Problem. Much of our
applications are written in Cobol and are using ODBC Interface to get data.
With DB2, that runs.
The Problem is now in my Test Environment when I connect to PG that I can
read everything well except german umlaute (ä, ü,...). I always get "?" and
not the umlaut.
My database's encoding is LATIN1. Windows Codepage tried with 850 and 1252.
When I read with client-side encoding UNICODE, I got the umlaute, but I
cannot write them to PG. Wirte statements like INSERTs work with LATIN1
encoding.
But something that never worked is, when I send a statement which should
return values with umlaute in it and which have umlaute in a WHERE-clause.
like: SELECT...FROM...WHERE text='ä';
I have tested it under WinNT as well as under WinXP. Same problem. Does
anyone have an idea?
Greetings,
R M Kramer
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: RobertMax.Kramer@gmx.de
Subject: Re: Driver uses always UTF-8?
In-Reply-To: <001901c53b9c$2b0f3100$14b2a8c0@rk>
References: <71837C040963F748B9B94E123A289678415144@mailserver.sandvine.com> <001901c53b9c$2b0f3100$14b2a8c0@rk>
* 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