This is a discussion on createdb: database creation failed: ERROR: encoding LATIN1 does not match server's locale en_GB.UTF-8 within the Pgsql General forums, part of the PostgreSQL category; --> When trying to specify an encoding to initdb I get: createdb: database creation failed: ERROR: encoding LATIN1 does not ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| When trying to specify an encoding to initdb I get: createdb: database creation failed: ERROR: encoding LATIN1 does not match server's locale en_GB.UTF-8 8.2 Used to let us create any encoding in initdb. I see that it was in the todo to make this change, but how do I create my database in LATIN encodingnow? Do I just change these lines in postgresql.conf: lc_messages = 'en_GB.UTF-8' # locale for system errormessage # strings lc_monetary = 'en_GB.UTF-8' # locale for monetary formatting lc_numeric = 'en_GB.UTF-8' # locale for number formatting lc_time = 'en_GB.UTF-8' # locale for time formatting Or do I have to do something else? The comments in the .conf file indicate that it's something else I need to change.... __________________________________________________ _________ Yahoo! For Good helps you make a difference http://uk.promotions.yahoo.com/forgood/ -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general |
| Thread Tools | |
| Display Modes | |
|
|