encoding question - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject encoding question
Date
Msg-id 016901c303b8$339d04a0$6500a8c0@fhp.internal
Whole thread Raw
Responses Re: encoding question  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: encoding question  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
What is the encoding of the database names in pg_database???

I wish to display the names of all available database on a webpage, but
since each database name is encoded differently, it's not possible.  Is the
solution to go 'set client_encoding to 'utf8' and then do the SELECT?  Is
that smart enough to individually convert each name from each different
encoding?

Thanks,

Chris



pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: GLOBAL vs LOCAL temp tables
Next
From: Doug McNaught
Date:
Subject: Re: Transaction problem?