Re: default client_encoding with psql on windows

From: John DeSoi <desoi(at)pgedit(dot)com>
To: thomas(at)microdop(dot)org
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: default client_encoding with psql on windows
Date: 2006-05-10 01:09:04
Message-ID: 7770F9EB-2DD8-40DE-B796-FFC63734A429@pgedit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On May 8, 2006, at 12:14 PM, Thomas Sondag wrote:

> I tried various things with the --set option of psql without
> success, like
> --set client_encoding=win1252 or --set CLIENT_ENCODING=win1252 or --
> set encoding=win1252.

The variables are case sensitive, so it looks like you left out the
right one. The docs say the psql variable is ENCODING (all caps).

If that does not work maybe you could call \encoding in the psqlrc file?

John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message William Yu 2006-05-10 02:39:53 Re: Arguments Pro/Contra Software Raid
Previous Message Bruce Momjian 2006-05-10 01:02:58 Re: [PERFORM] Arguments Pro/Contra Software Raid