Server-side support of all encodings

From: ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Server-side support of all encodings
Date: 2007-03-26 01:39:17
Message-ID: 20070326102148.6502.ITAGAKI.TAKAHIRO@oss.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

PostgreSQL suppots SJIS, BIG5, GBK, UHC and GB18030 as client encodings,
but we cannot use them as server encodings. Are there any reason for it?
AFAICS, we can support them only if we add each pg_xxx2wchar_with_len().

I'd like to add server-side SJIS supports for Windows Japanese edition.
Its native encoding is SJIS, so the C library expects SJIS characters are
passed if we set locale='Japanese'. However, we only support EUC_jp and
UTF-8 as valid Japanese encodings.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-03-26 02:18:14 Re: Arrays of Complex Types
Previous Message David Fetter 2007-03-26 01:31:58 Re: Arrays of Complex Types