Error message while connecting to a UNICODE db

From: Raphaël Enrici <blacknoz(at)club-internet(dot)fr>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Error message while connecting to a UNICODE db
Date: 2003-11-26 19:34:49
Message-ID: 3FC50059.6030808@club-internet.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Dear friends,

while testing things for hiroshi, I found this problem on my installation:
(I read the FAQ and BUGS.txt, but as you know I'm not a good reader and
I always need to wash my eyes... :p)
pgsql server 7.3.4 with db created in "UNICODE".
pgadmin3 latest snapshot (today's one)
Observed on debian stable and unstable

When I connect to the db, I have a popup window telling me that "An
Error occured".
On the console I can see this warning:
** (pgadmin3:24606): WARNING **: Invalid UTF8 string passed to
pango_layout_set_text()

And here is pgadmin3 log file:
2003-11-26 19:25:37 INFO : Destroying a connect dialogue
2003-11-26 19:25:37 STATUS : Connecting to database...
2003-11-26 19:25:37 INFO : Creating pgConn object
2003-11-26 19:25:37 INFO : Server name: 192.169.0.254 (resolved to:
192.169.0.254)
2003-11-26 19:25:37 INFO : Opening connection with connection string:
hostaddr='192.169.0.254' dbname='template1' user='xxx' password='yyy'
port=5432
2003-11-26 19:25:37 QUERY : Set query (192.169.0.254:5432): SELECT
pg_encoding_to_char(encoding) AS encoding, datlastsysoid
FROM pg_database WHERE datname='template1'
2003-11-26 19:25:37 INFO : Creating pgSet object
2003-11-26 19:25:37 INFO : Setting client_encoding to 'UNICODE'
2003-11-26 19:25:37 ERROR :
?????????????????????????????????????????????????????????????????????????????????????????????????????????T

(the final '?' are not mine... they are in the logfile).

If it's a known issue, just tell me to go to bed (I promise, I'll do it)!

Any idea ?

Regards,
Raphaël

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Andreas Pflug 2003-11-26 20:05:07 Re: Error message while connecting to a UNICODE
Previous Message Raphaël Enrici 2003-11-26 18:35:05 [querybuilder patch] Re: I asks for again, And Apology.