Re: Is this a bug?

From: desmodemone <desmodemone(at)gmail(dot)com>
To: Davide Gonnella <davide(dot)gonnella(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Is this a bug?
Date: 2014-07-31 15:57:38
Message-ID: CAEs9oFmszLj8wpboB69F95v6Es0V2u=g485n7hr9m+OOXsK+Pw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

2014-07-31 0:11 GMT+02:00 Davide Gonnella <davide(dot)gonnella(at)gmail(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2014-07-31 16:18:18 Re: BUG #11095: quickdie() calls syslog() in a signal handler leading to deadlock
Previous Message dgrelaud 2014-07-31 15:24:56 BUG #11103: to_json() does not convert correctly DOMAINs type since 9.3.5 (int expected instead of string) ?