Re: BUG #5134: initdb fails with return code 1 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #5134: initdb fails with return code 1
Date
Msg-id 900.1256225313@sss.pgh.pa.us
Whole thread Raw
In response to BUG #5134: initdb fails with return code 1  ("Savita" <savita.halli@gmail.com>)
List pgsql-bugs
"Savita" <savita.halli@gmail.com> writes:
> could not determine encoding for locale "Ja_JP": codeset is "IBM-943"

Hmph.  Do you know which of Postgres' character set encodings that
corresponds to?  If there is one, fixing this is just a matter of
adding an entry to the table in src/port/chklocale.c.

Some googling suggests that this might be SJIS or a close relative,
in which case adding it to the table won't do much except generate
a more helpful error message: we do not support SJIS as a database
encoding, only as a client encoding.  In that case the answer is
you need to pick a locale that uses a supported encoding, such as
UTF8.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #5132: Invalid Function
Next
From: Tom Lane
Date:
Subject: Re: BUG #5135: sorting order