Re: server , client encoding issue

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: "surabhi(dot)ahuja" <surabhi(dot)ahuja(at)iiitb(dot)ac(dot)in>, Richard Huxton <dev(at)archonet(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: server , client encoding issue
Date: 2005-10-20 14:12:10
Message-ID: 9384.1129817530@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Martijn van Oosterhout <kleptog(at)svana(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rick Morris 2005-10-20 14:24:50 Re: 'a' == 'a ' (Was: RE: [pgsql-advocacy] Oracle buysInnobase)
Previous Message Tom Lane 2005-10-20 14:09:18 Re: NULL != text ?