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 20:16:01
Message-ID: CALSLE1OWsbTM7Xbz=JrKm_ka9R3PyUntbW=O6CQPEBdsgEp4Rw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

> What does it set LC_CTYPE to?
>
> So what happens if you do?:
>
> createdb -U postgres -E utf8 -l american_usa.65001 <DBNAME>
>

*createdb: database creation failed: ERROR: invalid locale name:
"american_usa.65001" *

> or
>
> createdb -U postgres -E utf8 --lc-ctype=american_usa
> --lc-collate=american_usa <DBNAME>
>
Succeeds but as replied earlier it creates database with LC_COLLATE =
'English_United States.1252' which corresponds to Latin1.

Regards...

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2014-02-19 20:31:43 Re: UTF-8 collation on Windows?
Previous Message Adrian Klaver 2014-02-19 20:11:46 Re: UTF-8 collation on Windows?