The following bug has been logged online:
Bug reference: 5956
Logged by: Mario Barrientos
Email address: mariofbarrientos(at)gmail(dot)com
PostgreSQL version: 8.4
Operating system: ubuntu 10.04
Description: quiero crear una base de datos -E LATIN1 en la version
8.4
Details:
$ createdb -E LATIN1 basededatos
createdb: database creation failed: ERROR: encoding LATIN1 does not match
locale en_US.utf8
DETAIL: The chosen LC_CTYPE setting requires encoding UTF8.