On 01/18/2014 09:31 PM, Robert Haas wrote:
> On Thu, Jan 16, 2014 at 10:15 PM, Craig Ringer <cr...@2ndquadrant.com> wrote:
>> Anybody who actually uses SHIFT_JIS as an operational encoding, rather
>> than as an input/output encoding, is into pain and suffering. Personally
>> I'd be quite happy to see it supported as client_encoding, but forbidden
>> as a server-side encoding. That's not the case right now - so since we
>> support it, we'd better guard against its quirks.
> 
> I think that *is* the case right now.  pg_wchar.h sayeth:
> 
>         /* followings are for client encoding only */
>         PG_SJIS,                                        /* Shift JIS
> (Winindows-932) */
>         PG_BIG5,                                        /* Big5 (Windows-950) 
> */
>         PG_GBK,                                         /* GBK (Windows-936) 
> */

Perfect - that makes ASCII-only just fine, IMO.


-- 
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to