Thread: BUG #2030: Chinese character support error

BUG #2030: Chinese character support error

From
"Dragon"
Date:
The following bug has been logged online:

Bug reference:      2030
Logged by:          Dragon
Email address:      hhjohn@hotmail.com
PostgreSQL version: 8.1
Operating system:   windows
Description:        Chinese character support error
Details:

When I install postgresql server,I can not find the chinese charactor GB2312
or GBK or GB18310 , and In the pgAdmin III when I create a database, in the
Dialog I can not select Encoding GBK or other Chinese Encoding,
"A error orccured
Error :GBK is not a validate encoding name"

thank you sir

Re: BUG #2030: Chinese character support error

From
"Qingqing Zhou"
Date:
""Dragon"" <hhjohn@hotmail.com> wrote
>
> When I install postgresql server,I can not find the chinese charactor
> GB2312
> or GBK or GB18310 , and In the pgAdmin III when I create a database, in
> the
> Dialog I can not select Encoding GBK or other Chinese Encoding,
> "A error orccured
> Error :GBK is not a validate encoding name"
>

GBK or GB18030 are only for client encoding. So you can't initdb or createdb
using these encodings.

Regards,
Qingqing