Is this a bug?
Hi guys,
I've received this warning with the note to forward it to this address so
I am writing you.
"warning: Could not determine encoding for locale "en_US-UTF-8" codeset is
"646"
I've init the DB with the following command, perhaps is this the cause? (I
would like to SE UTF-8 as codeset)
initdb --pgdata=/var/postgresql/data -E 'UTF-8' --lc-collate='en_US-UTF-8'
--lc-ctype='en_US-UTF-8'
Btw I've done is before on test env and I haven't see this error on
"create database"
Thank you.
Best Regards,
Davide
2014-07-31 0:11 GMT+02:00 Davide Gonnella <davide.gonnella@gmail.com>:
Hi guys,
I've received this warning with the note to forward it to this address so
I am writing you."warning: Could not determine encoding for locale "en_US-UTF-8" codeset is
"646"I've init the DB with the following command, perhaps is this the cause? (I
would like to SE UTF-8 as codeset)initdb --pgdata=/var/postgresql/data -E 'UTF-8' --lc-collate='en_US-UTF-8'
--lc-ctype='en_US-UTF-8'Btw I've done is before on test env and I haven't see this error on
"create database"Thank you.
Best Regards,
Davide
Hi Davide,
I not think en_US-UTF-8 is a valid locale naming,
could you try with en_US.UTF-8 ?
Thanks
Mat
Davide Gonnella <davide.gonnella@gmail.com> writes:
"warning: Could not determine encoding for locale "en_US-UTF-8" codeset is
"646"
Are you sure that locale name is actually defined on your system?
"locale -a" will list the known names.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs