Re: CP949 for EUC-KR?

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Takahiro Itagaki <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: CP949 for EUC-KR?
Date: 2010-04-27 19:40:32
Message-ID: 4BD73DB0.6090307@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Takahiro Itagaki wrote:
> That's it! We should have added an additional alias to chklocale, too.
>
> Index: src/port/chklocale.c
> ===================================================================
> --- src/port/chklocale.c (HEAD)
> +++ src/port/chklocale.c (fixed)
> @@ -172,6 +172,7 @@
> {PG_GBK, "CP936"},
>
> {PG_UHC, "UHC"},
> + {PG_UHC, "CP949"},
>
> {PG_JOHAB, "JOHAB"},
> {PG_JOHAB, "CP1361"},

Yeah, seems correct.

> Except UHC, we don't have any codepage aliases for the encodings below.
> I assume we don't need to add CPxxx because Windows does not have
> corresponding codepages for them, right?
>
> {PG_LATIN6, "ISO-8859-10"},
> {PG_LATIN7, "ISO-8859-13"},
> {PG_LATIN8, "ISO-8859-14"},
> {PG_LATIN10, "ISO-8859-16"},
> {PG_SHIFT_JIS_2004, "SJIS_2004"},

Yeah, I guess so. I can't find Windows codepages for these either, by
google.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-04-27 20:18:53 Re: testing HS/SR - 1 vs 2 performance
Previous Message Simon Riggs 2010-04-27 19:29:13 Re: testing HS/SR - 1 vs 2 performance