[gnome-db] 0.8.192: Postgres provider and encoding
- From: "Dmitry G. Mastrukov" =?koi8-r?q?=E4=CD=C9=D4=D2=C9=CA_?==?koi8-r?q?=E7=C5=CE=CE=C1=C4=D8=C5=D7=C9=DE_?==?koi8-r?q?=ED=C1=D3=D4=D2=C0=CB=CF=D7?= <dmitry taurussoft org>
- To: Gnome-DB List <gnome-db-list gnome org>
- Subject: [gnome-db] 0.8.192: Postgres provider and encoding
- Date: 10 Jul 2002 00:47:40 +0400
Hi, All!
I try to use gnome-db to access Postgres Database. My database has
encoding KOI8. And when I try to see database through gnome-db I cannot
see any non-latin chars. When I try to save results as a file I can see
all data in proper KOI8 encoding.
When I enter "SET CLIENT_ENCODING TO 'UNICODE'" in SQL pane all
non-latin chars become normally visible in gnome-db.
May be PQsetClientEncoding(conn, "UNICODE") should be called somewhere
in gnome-db (libgnomedb or may be even in provider) since gtk+ requires
UTF-8 and Postgres UNICODE encoding is UTF-8 in reality.
Regards,
Dmitry
PS. I use Postgres 7.1.3 as server and libgda is linked with 7.1.2
client libraries.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]