Locale / Encoding mismatch

From: Naz Gassiep <naz(at)mira(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Locale / Encoding mismatch
Date: 2008-03-30 17:32:16
Message-ID: 47EFCEA0.8010500@mira.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have just attempted to upgrade to 8.3.1 and I now get this error when
trying to create a UTF8 DB:

postgres(at)mrnaz:~$ createdb twerl -E utf8
createdb: database creation failed: ERROR: encoding UTF8 does not match
server's locale en_AU
DETAIL: The server's LC_CTYPE setting requires encoding LATIN1.

I have never bothered with the server's locale, all the locale handling
in the app gets handled within the DB itself. I guess I now have to dig
into the murky world of system locales and how they affect my app
ecosystem. I don't suppose there is an easy solution to this and a short
explanation of why it now occurs is there?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2008-03-30 18:01:58 Re: Locale / Encoding mismatch
Previous Message A. Kretschmer 2008-03-30 17:29:22 Re: Re: [GENERAL] postgreSQL multithreading