Re: [GENERAL] Language support of postgresql - Mailing list pgsql-general

From Tom Lane
Subject Re: [GENERAL] Language support of postgresql
Date
Msg-id 14080.1493749232@sss.pgh.pa.us
Whole thread Raw
In response to Re: [GENERAL] Language support of postgresql  ("Martel, Hong" <Hong.Martel@saabsensis.com>)
List pgsql-general
"Martel, Hong" <Hong.Martel@saabsensis.com> writes:
> As I understand, currently Postgres doesn$B!G(Bt support Chinese encoding GBK and BIG5 on both server and client
side,only UNICODE.  Is it true?  Are there any plans for postgresql team to implement GBK and BIG5 encoding anytime
soon?

Yes, and no.  There's basically zero chance that we'll ever allow these
ecodings as server-side encodings, because they aren't strict ASCII
supersets (that is, not all bytes of a multibyte character are
individually distinguishable from an ASCII character).  The amount of
work involved, and the ongoing hazard of security bugs that would ensue,
is just prohibitive.

We do however support them as client-side encodings with automatic
translation to and from Unicode on the server.

            regards, tom lane


pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: [GENERAL] Language support of postgresql
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] Language support of postgresql