Re: initdb - encoding question

From: Stephane Bortzmeyer <bortzmeyer(at)nic(dot)fr>
To: Josh Harrison <joshques(at)gmail(dot)com>
Cc: Postgresql General <pgsql-general(at)postgresql(dot)org>
Subject: Re: initdb - encoding question
Date: 2007-12-05 16:03:09
Message-ID: 20071205160309.GA29257@nic.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Dec 03, 2007 at 12:51:27PM -0500,
Josh Harrison <joshques(at)gmail(dot)com> wrote
a message of 63 lines which said:

> The encoding you selected (UTF8) and the encoding that the
> selected locale uses (LATIN1) do not match.

Indeed.

> Rerun initdb and either do not specify an encoding explicitly, or
> choose a matching combination.

That's the right solution.

% initdb --encoding=UTF8 --locale=fr_FR.UTF8

If you read French, see
http://www.bortzmeyer.org/postgresql-unicode.html

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bryan Murphy 2007-12-05 16:05:05 pg_dump and server responsiveness
Previous Message marcelo Cortez 2007-12-05 15:52:43 8.3 beta FATAL: invalid value for parameter "timezone_abbreviations": "Default"