Re: UTF-8 collation on Windows?
| От | Dev Kumkar |
|---|---|
| Тема | Re: UTF-8 collation on Windows? |
| Дата | |
| Msg-id | CALSLE1OWsbTM7Xbz=JrKm_ka9R3PyUntbW=O6CQPEBdsgEp4Rw@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: UTF-8 collation on Windows? (Adrian Klaver <adrian.klaver@aklaver.com>) |
| Ответы |
Re: UTF-8 collation on Windows?
Re: UTF-8 collation on Windows? |
| Список | pgsql-general |
On Thu, Feb 20, 2014 at 1:41 AM, Adrian Klaver <adrian.klaver@aklaver.com> wrote:
createdb: database creation failed: ERROR: invalid locale name: "american_usa.65001"
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...
В списке pgsql-general по дате отправления: