Re: garbage in psql -l - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: garbage in psql -l
Date
Msg-id 1259153838.17967.11.camel@fsopti579.F-Secure.com
Whole thread Raw
In response to Re: garbage in psql -l  (Roger Leigh <rleigh@codelibre.net>)
List pgsql-hackers
On ons, 2009-11-25 at 00:14 +0000, Roger Leigh wrote:
> For the specific case here, where the locale is KOI8-R, we can
> determine at runtime that this isn't a UTF-8 locale and stay
> using ASCII.  I'll be happy to send a patch in to correct this
> specific case.

There is already a proposed patch to set the client encoding from the
locale, but it is pending on some other API refactoring.

The problem at hand, however, is that psql -l happens before the client
encoding settings are applied, which should be fixed in any case.



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: garbage in psql -l
Next
From: Peter Eisentraut
Date:
Subject: Re: garbage in psql -l