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

From Tom Lane
Subject Re: garbage in psql -l
Date
Msg-id 21232.1259088379@sss.pgh.pa.us
Whole thread Raw
In response to Re: garbage in psql -l  (Oleg Bartunov <oleg@sai.msu.su>)
Responses Re: garbage in psql -l
List pgsql-hackers
Oleg Bartunov <oleg@sai.msu.su> writes:
> On Tue, 24 Nov 2009, Tom Lane wrote:
>> What's your locale environment?  ("env | grep ^L" would help.)

> LC_COLLATE=ru_RU.KOI8-R
> LANG=C
> LC_CTYPE=ru_RU.KOI8-R

Hmm, I can duplicate the fact that psql -l uses utf8 characters
(because it connects to the postgres DB which has utf8 encoding)
but for me, ordinary selects within psql use the utf8 characters
too.  Do you perhaps have something in ~/.psqlrc to force a different
client encoding?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [GENERAL] Updating column on row update
Next
From: Peter Eisentraut
Date:
Subject: Re: garbage in psql -l