Received: from maia.hub.org (maia-4.hub.org [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 84EF86329E5 for ; Tue, 27 Apr 2010 16:43:00 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 19552-05 for ; Tue, 27 Apr 2010 19:42:49 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from exprod7og106.obsmtp.com (exprod7og106.obsmtp.com [64.18.2.165]) by mail.postgresql.org (Postfix) with SMTP id 4930263279B for ; Tue, 27 Apr 2010 16:41:04 -0300 (ADT) Received: from source ([209.85.219.215]) by exprod7ob106.postini.com ([64.18.6.12]) with SMTP ID DSNKS9c9z+DLccR0gHf8W2OyYfDh2Q4pRK1E@postini.com; Tue, 27 Apr 2010 12:42:19 PDT Received: by ewy7 with SMTP id 7so3622753ewy.31 for ; Tue, 27 Apr 2010 12:41:02 -0700 (PDT) Received: by 10.213.70.13 with SMTP id b13mr534897ebj.10.1272397236037; Tue, 27 Apr 2010 12:40:36 -0700 (PDT) Received: from [192.168.1.117] (dsl-hkibrasgw2-ff67c300-165.dhcp.inet.fi [88.195.103.165]) by mx.google.com with ESMTPS id 15sm2912253ewy.8.2010.04.27.12.40.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 27 Apr 2010 12:40:35 -0700 (PDT) Message-ID: <4BD73DB0.6090307@enterprisedb.com> Date: Tue, 27 Apr 2010 22:40:32 +0300 From: Heikki Linnakangas Organization: EnterpriseDB User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) MIME-Version: 1.0 To: Takahiro Itagaki CC: pgsql-hackers@postgresql.org Subject: Re: CP949 for EUC-KR? References: <20100427192740.9B68.52131E4D@oss.ntt.co.jp> <4BD6C522.80200@enterprisedb.com> <20100427202337.9B70.52131E4D@oss.ntt.co.jp> In-Reply-To: <20100427202337.9B70.52131E4D@oss.ntt.co.jp> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201004/1293 X-Sequence-Number: 161405 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