Re: [gnome-db] 0.8.192: Postgres provider and encoding



* [ Dmitry G. Mastrukov ??????? ??????????? ????????? <dmitry taurussoft org>
* Tue, 09 Jul 2002 22:48:15 +0200 ]
> 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.
> 

Ok. I'll add it right now.

-- 
Gonzalo Paniagua Javier <gonzalo gnome-db org>
http://www.gnome-db.org/~gonzalo/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]