Re: BUG #5134: initdb fails with return code 1

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Savita" <savita(dot)halli(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5134: initdb fails with return code 1
Date: 2009-10-22 15:28:33
Message-ID: 900.1256225313@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2009-10-22 15:40:21 Re: BUG #5135: sorting order
Previous Message Tom Lane 2009-10-22 15:20:28 Re: BUG #5132: Invalid Function