Re: I can't create a new database with GB18030 encoding

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Huang GeHua <pluscn(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: I can't create a new database with GB18030 encoding
Date: 2005-04-26 05:19:53
Message-ID: 28136.1114492793@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Huang GeHua <pluscn(at)gmail(dot)com> writes:
> I want create a new database with the GB18030 encoding.But the
> pgAdminIII tell a error "GB18030 is not a valid encoding name".How can
> i do for it?

The docs say that GB18030 is supported as a client-side encoding only.
So pick any superset encoding (UTF8 maybe?) as the database encoding,
and then set client_encoding to GB18030.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Guy Rouillier 2005-04-26 05:29:28 Re: Toad Adm. Datasource Location
Previous Message Tom Lane 2005-04-26 04:52:32 Re: question about about future 8.1 and IN, INOUT, and OUT parameters