Thread: pginstaller - pginst: Fixed EUC_JP code misstake..

pginstaller - pginst: Fixed EUC_JP code misstake..

From
h-saito@pgfoundry.org (User H-saito)
Date:
Log Message:
-----------
Fixed EUC_JP code misstake..

Modified Files:
--------------
    pginst/ca:
        locale.c (r1.13 -> r1.14)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pginstaller/pginst/ca/locale.c.diff?r1=1.13&r2=1.14)

Re: pginstaller - pginst: Fixed EUC_JP code misstake..

From
ITAGAKI Takahiro
Date:
Hi, Saito-san,

h-saito@pgfoundry.org (User H-saito) wrote:

>     pginst/ca:
>         locale.c (r1.13 -> r1.14)
>         (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pginstaller/pginst/ca/locale.c.diff?r1=1.13&r2=1.14)

Did you check the codepage of EUC_TW ? The locale Chinese_Taiwan.51950
is invalid on my Windows XP Japanese version. Or, is it ok on Chinese
version? If it works, we also need to add CP51950 to initdb because
it rejects the locale specified by installer.

initdb: invalid locale name "Chinese_Taiwan.51950"
initdb: invalid locale name "Chinese_Taiwan.20950"

 _db_encoding
 client_encodings[] =
 {
     { "EUC_JP", "20932" },
     { "EUC_CN", "51936" },
     { "EUC_KR", "51949" },
     { "EUC_TW", "51950" },

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



Re: pginstaller - pginst: Fixed EUC_JP code misstake..

From
"Hiroshi Saito"
Date:
Hi.

From: "ITAGAKI Takahiro" <itagaki.takahiro@oss.ntt.co.jp>


> Hi, Saito-san,
>
> h-saito@pgfoundry.org (User H-saito) wrote:
>
>>     pginst/ca:
>>         locale.c (r1.13 -> r1.14)
>>
>> (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pginstaller/pginst/ca/locale.c.diff?r1=1.13&r2=1.14)
>
> Did you check the codepage of EUC_TW ? The locale Chinese_Taiwan.51950
> is invalid on my Windows XP Japanese version. Or, is it ok on Chinese
> version? If it works, we also need to add CP51950 to initdb because
> it rejects the locale specified by installer.
>
> initdb: invalid locale name "Chinese_Taiwan.51950"
> initdb: invalid locale name "Chinese_Taiwan.20950"
>
> _db_encoding
> client_encodings[] =
> {
>     { "EUC_JP", "20932" },
>     { "EUC_CN", "51936" },
>     { "EUC_KR", "51949" },
>     { "EUC_TW", "51950" },
>

Fixed now. Thanks!!!

Regards,
Hiroshi Saito