Server-side support of all encodings - Mailing list pgsql-hackers

From ITAGAKI Takahiro
Subject Server-side support of all encodings
Date
Msg-id 20070326102148.6502.ITAGAKI.TAKAHIRO@oss.ntt.co.jp
Whole thread Raw
Responses Re: Server-side support of all encodings  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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



pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: Arrays of Complex Types
Next
From: Tom Lane
Date:
Subject: Re: Arrays of Complex Types