Re: How do I change the server encoding?

From: Antti Haapala <antti(dot)haapala(at)iki(dot)fi>
To: Joseph Shraibman <jks(at)selectacast(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How do I change the server encoding?
Date: 2003-02-25 07:55:09
Message-ID: Pine.GSO.4.44.0302250949390.18775-100000@paju.oulu.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers


On Mon, 24 Feb 2003, Joseph Shraibman wrote:

> I have a server that has LATIN1 encoding. I want to convert it to run UTF encoding. How
> do I do that? Simply changing the encoding in a dump file does not work.

So have you done both of these:
- dropped and recreated your db with encoding 'utf-8'
- converted your dumps to utf-8 or
added set client_encoding to 'latin1' in the dumps

--
Antti Haapala

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Erwin Moller 2003-02-25 09:37:51 Help, Postgres7.3 --> Postgres7.2.1 database recreation fails
Previous Message Martijn van Oosterhout 2003-02-25 07:48:35 Re: how to detect errors in statements piped to psql?

Browse pgsql-hackers by date

  From Date Subject
Next Message Christoph Haller 2003-02-25 08:36:01 Re: REPEATED INSERT INTO ...
Previous Message cbbrowne 2003-02-25 03:25:04 Re: Intel drops 64-bit Itanium