pginstaller - pginst: Fixed EUC_JP code misstake..

Started by Nonamealmost 19 years ago3 messagescomitters
Jump to latest
#1Noname
h-saito@pgfoundry.org

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)

#2ITAGAKI Takahiro
itagaki.takahiro@oss.ntt.co.jp
In reply to: Noname (#1)
Re: pginstaller - pginst: Fixed EUC_JP code misstake..

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

#3Hiroshi Saito
z-saito@guitar.ocn.ne.jp
In reply to: Noname (#1)
Re: pginstaller - pginst: Fixed EUC_JP code misstake..

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&amp;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