Problem: (postgres)-# create database “newdb” WITH ENCODING = ‘UTF8′ LC_CTYPE=’en_US.utf8′ LC_COLLATE=’en_US.utf8′ TEMPLATE template0; createdb: database creation failed: ERROR: encoding UTF8 does not match locale en_US DETAIL: The chosen LC_CTYPE setting requires encoding LATIN1. 1 2 3 (postgres)-# create database “newdb” WITH ENCODING = ‘UTF8′ LC_CTYPE=’en_US.utf8′ LC_COLLATE=’en_US.utf8′ TEMPLATE template0; createdb: database creation failed: ERROR: encoding UTF8 does not match locale en_US DETAIL: The chosen LC_CTYPE setting requires encoding LATIN1. Check what

Read more