Re: UTF-8 collation on Windows?

From: Dev Kumkar <devdas(dot)kumkar(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: UTF-8 collation on Windows?
Date: 2014-02-19 21:21:00
Message-ID: CALSLE1M+Z4az7KJPrGy++yqqs-p9qpo2jZmfLoJ7NXp0ikZ+3w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Feb 20, 2014 at 2:45 AM, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>wrote:

>
> Have you tried it?
>
> Note that the locale name is different then the one Linux.
>
> On Linux it is en_US.
>
> What I suggested is en-US.
>

Yes. Here is the output:
createdb -U postgres -E utf8 -l en-US -T template0 mynewdb
Password:
*createdb: database creation failed: ERROR: invalid locale name: "en-US"*

Regards...

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2014-02-19 21:28:39 Re: UTF-8 collation on Windows?
Previous Message Andrew Sullivan 2014-02-19 21:19:32 Re: Timezone information