Quindi sto camminando attraverso il tutorial GeoDjango e io sono bloccato su questo messaggio di errore:Change LC_CTYPE per PostgreSQL e PostGIS usa
[email protected]:~$ createdb -E UTF8 template_postgis
createdb: database creation failed: ERROR: encoding UTF8 does not match locale en_US
DETAIL: The chosen LC_CTYPE setting requires encoding LATIN1.
Googled e leggere alcuni documenti di Ubuntu, ma senza alcun risultato. Qualsiasi intuizione sarebbe molto apprezzata!
Sto usando il Vagrant Box lucid 32 predefinito, per testare la mia configurazione.
Quello che in realtà finito per fare è createdb -E UTF8 -T template0 --locale = en_US.utf8 template_postgis –
'--locale = en_US.UTF-8' per quanto riguarda PostgreSQL 9.4.5 –