Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

encoding UTF8 does not match locale en_US #1

Open
beilharz opened this issue Feb 25, 2013 · 2 comments
Open

encoding UTF8 does not match locale en_US #1

beilharz opened this issue Feb 25, 2013 · 2 comments

Comments

@beilharz
Copy link

When running vagrant up I get the following error

---- Begin output of createdb -E utf8 -O ckanuser ckantest ----
STDOUT: 
STDERR: createdb: database creation failed: ERROR:  encoding UTF8 does not match locale en_US
DETAIL:  The chosen LC_CTYPE setting requires encoding LATIN1.
---- End output of createdb -E utf8 -O ckanuser ckantest ----

Am I doing something wrong?
A workaround is to add

locale "en_US.utf8"
template "template0"

to the two pg_database in ckan.

@defvol
Copy link

defvol commented Apr 27, 2013

Same here

I'm working around a fix in here defvol#1

Yet I get the same error

STDERR: createdb: database creation failed: ERROR:  encoding UTF8 does not match locale en_US
DETAIL:  The chosen LC_CTYPE setting requires encoding LATIN1.
---- End output of createdb -E utf8 -O ckanuser ckantest ----
Ran createdb -E utf8 -O ckanuser ckantest returned 1

@defvol
Copy link

defvol commented Apr 29, 2013

@beilharz take a look at #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants