Compatibility Zeoslib Delphi 2007 - Postgres 9
Posted: 18.06.2012, 23:14
Hi,
this post is meant to be something between a bug report and an information which might save someone some time.
We have a Delphi 2007 (pre-unicode) application which works fine with Zeoslib 6.6.6 and Postgres 8.3 (Debian). After upgrading to Postgres 9 (on a Windows box), numerous encoding problems occured.
The database is set to UTF8, client_encoding to LATIN9 (and I tried different others as well). Special characters like € and § made problems first. I could fix them, but I could not get the ' sign to work. If it is saved and loaded from the database, it is always replaced by an escape sequence.
Trying the same test program with the old 8.3 server saved it correctly, so I will downgrade the database server and hopefully get a stable application again.
If someone knows about a fix, I would be interested anyway. I didn't try any non-stable versions of Postgres yet.
this post is meant to be something between a bug report and an information which might save someone some time.
We have a Delphi 2007 (pre-unicode) application which works fine with Zeoslib 6.6.6 and Postgres 8.3 (Debian). After upgrading to Postgres 9 (on a Windows box), numerous encoding problems occured.
The database is set to UTF8, client_encoding to LATIN9 (and I tried different others as well). Special characters like € and § made problems first. I could fix them, but I could not get the ' sign to work. If it is saved and loaded from the database, it is always replaced by an escape sequence.
Trying the same test program with the old 8.3 server saved it correctly, so I will downgrade the database server and hopefully get a stable application again.
If someone knows about a fix, I would be interested anyway. I didn't try any non-stable versions of Postgres yet.