How to extend server side encoding GBK

Поиск
Список
Период
Сортировка
От Xiong He
Тема How to extend server side encoding GBK
Дата
Msg-id tencent_78BE6BC62789E6431E2E3776@qq.com
обсуждение исходный текст
Ответы Re: How to extend server side encoding GBK  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I just noticed that PG not support the following encoding: 
/* followings are for client encoding only */
PG_SJIS, /* Shift JIS (Winindows-932) */
PG_BIG5, /* Big5 (Windows-950) */
PG_GBK, /* GBK (Windows-936) */
PG_UHC, /* UHC (Windows-949) */
PG_GB18030, /* GB18030 */
PG_JOHAB, /* EUC for Korean JOHAB */
PG_SHIFT_JIS_2004, /* Shift-JIS-2004 */
_PG_LAST_ENCODING_ /* mark only */

But  PG_GBK and PG_GB18030 are very popular in Chinese charset.
Could anybody give some hints about how to extend it in PG source code?

Although UTF-8 and PG_EUC_CN is ready.  But I think it's useful to implement the support of PG_GBK.

Any help is appreciated. Thanks in advance.

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Kohei KaiGai
Дата:
Сообщение: User-Id Tracking when Portal was started
Следующее
От: Tom Lane
Дата:
Сообщение: Re: How to extend server side encoding GBK