Skip site navigation (1) Skip section navigation (2)

Re: How to set client encoding?

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: How to set client encoding?
Date: 2009-02-05 08:23:49
Message-ID: 937d27e10902050023r3e104bb7q74d2099e312fdf48@mail.gmail.com (view raw or flat)
Thread:
Lists: pgadmin-support
On Thu, Feb 5, 2009 at 2:07 AM, Quan Zongliang <quanzongliang(at)gmail(dot)com> wrote:
> Hi
>
> When open the query tool, the default client encoding is UNICODE.
> How to set pgAdmin's default client encoding?

Thats done when we connect (in pgConn::pgConn) - we always use UNICODE
unless the database is SQL_ASCII or MULE_INTERNAL. As a user, you
cannot override this (except in the query tool).

If you need to change it in the import code, use 'SET client_encoding=...'.

--
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com



-- 
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com

In response to

pgadmin-support by date

Next:From: Dave PageDate: 2009-02-05 11:26:23
Subject: Re: dependents bug
Previous:From: Quan ZongliangDate: 2009-02-05 02:07:25
Subject: How to set client encoding?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group