From: Josef Springer <Josef.Springer@joops.com>
To: pgsql-odbc@postgresql.org
Subject: 08.02.04.00 Updating column with Unicode
Date: Sun, 03 Apr 2011 13:50:44 +0200
Message-ID: <4D985F14.7050108@joops.com> (raw)
Hello everybody,
I have detected some strange behavior updating columns with Unicodes
strings.
Environment:
PostgreSQL 8.2.5
Database encoding: UTF8
ODBC: PostgreSQL Unicode Version 08.02.04.00
I am updating via ODBC a column (character varying nnn) of a record to
an unicoded string.
Updating by using the command as one parameterblock
'UPDATE adresse SET company = ''Seifert und Partner KG EUR ??'' WHERE id
= 1'
works right. (the whole parameterblock is encoded to UTF8)
Updating the record by using the command 'UPDATE adresse SET company=?
WHERE record.id=?'
and providing the arguments for ? UTF8-encoded in an extra buffer
destroys the columns content.
If i update the column with an UTF8 encoded character in the default
range (the EURO Sign EUR), it works.
Can anybody give me some hints ?
mit freundlichen Grüßen / best regards,
Josef Springer
(Geschäftsleitung/Management)
Postal
Address
_Josef.Springer@joops.com_
Orlando-di-Lasso Str. 2
D-85640 Putzbrunn
Phone
Office
+49 (0)89 600 6920
Phone Fax
+49 (0)89 600 69220
Web
Web
http://www.joops.com
JOOPS
(HRB München 86239)
*-- the software company --*
Attachments:Postal.jpg (image/jpeg, 770B) downloadview imagePhone.jpg (image/jpeg, 802B) downloadview imageWeb.jpg (image/jpeg, 807B) downloadview imageImage120.jpg (image/jpeg, 7.6K) downloadview image
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: Josef.Springer@joops.com
Subject: Re: 08.02.04.00 Updating column with Unicode
In-Reply-To: <4D985F14.7050108@joops.com>
References: <4D985F14.7050108@joops.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