question

Поиск
Список
Период
Сортировка
Искать

question

От:
luyen dinhvan <luyendv.hut@gmail.com>
Дата:

createdb: database creation failed: ERROR:  encoding LATIN1 does not match server's locale en_US.utf8
DETAIL:  The server's LC_CTYPE setting requires encoding UTF8.



Re: question

От:
Scott Marlowe <scott.marlowe@gmail.com>
Дата:
On Tue, Nov 3, 2009 at 3:29 AM, luyen dinhvan  wrote:
>
> createdb: database creation failed: ERROR:  encoding LATIN1 does not match
> server's locale en_US.utf8
> DETAIL:  The server's LC_CTYPE setting requires encoding UTF8.

PG version?  OS?  Command used to attempt creation?

In later versions you sometimes have to use the template0 database to
get some encodings to work.  And some encodings just aren't possible
with certain locales.
FAQ