How to set client encoding?
How to set client encoding?
От:
Quan Zongliang <quanzongliang@gmail.com>
Дата:
Hi When open the query tool, the default client encoding is UNICODE. How to set pgAdmin's default client encoding? ----------------------------------------------- Quan Zongliang quanzongliang@gmail.com CIT Japan: http://www.cit.co.jp CIT China: http://www.citbj.com.cn
Re: How to set client encoding?
От:
Dave Page <dpage@pgadmin.org>
Дата:
On Thu, Feb 5, 2009 at 2:07 AM, Quan Zongliang 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