encoding question

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: encoding question
Date: 2003-04-16 01:33:36
Message-ID: 016901c303b8$339d04a0$6500a8c0@fhp.internal
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Doug McNaught 2003-04-16 01:38:23 Re: Transaction problem?
Previous Message Tatsuo Ishii 2003-04-16 01:09:38 Re: GLOBAL vs LOCAL temp tables