"Savita" <savita(dot)halli(at)gmail(dot)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