Re: server , client encoding issue - Mailing list pgsql-general

From Tom Lane
Subject Re: server , client encoding issue
Date
Msg-id 9384.1129817530@sss.pgh.pa.us
Whole thread Raw
In response to Re: server , client encoding issue  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-general
Martijn van Oosterhout <kleptog@svana.org> writes:
> On Thu, Oct 20, 2005 at 03:41:51PM +0530, surabhi.ahuja wrote:
>> how can i change the client encoding to LATIN1?

> Send the query:
> set client_encoding=latin1;

Also, whatever client-side library you're using may have alternative
ways to specify the same thing.  libpq for instance looks for a
PGCLIENTENCODING environment variable.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: NULL != text ?
Next
From: Rick Morris
Date:
Subject: Re: 'a' == 'a ' (Was: RE: [pgsql-advocacy] Oracle buysInnobase)