Re: postgresql 8.4 install failed on windows xp chinese PRC

From: Itagaki Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
To: ?? <march(dot)liu(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: postgresql 8.4 install failed on windows xp chinese PRC
Date: 2009-07-02 04:02:10
Message-ID: 20090702125559.A5D8.52131E4D@oss.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


?? <march(dot)liu(at)gmail(dot)com> wrote:

> system : windows xp Chinese simple
> postgres : postgresql-8.4.0-1-windows.exe
> F:\PostgreSQL\8.4\bin>initdb -U postgres --encoding=utf8 --locale=utf8

It's not a bug, just "utf8" is not a valid locale name.
Use the following instead:
$ initdb --encoding=UTF8 --locale="Chinese (Simplified)"

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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2009-07-02 04:08:57 Re: BUG #4894: [patch] documentation bug on 'include' directive
Previous Message 刘鑫 2009-07-02 03:47:56 postgresql 8.4 install failed on windows xp chinese PRC