Re: pg_dumpall and convert from LATIN1 to UTF-8?

From: CoL <col(at)mportal(dot)hu>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: pg_dumpall and convert from LATIN1 to UTF-8?
Date: 2004-02-27 10:39:11
Message-ID: c1n6o8$1ms7$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

hi,

Joseph wrote:

> Hi Everyone,
>
> I have used pg_dumpall on a database that was created with LATIN1
> encoding and has a whole bunch of messy latin1 data in it.
>
> I want to restore this data to a new db with UTF-8 encoding, with the
> data converted so the 8859-1 characters display properly.
>
> How should I go about doing this?

try function convert (and check CREATE CONVERSION)

c.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Paul Makepeace 2004-02-27 13:17:57 UPDATE FROM syntax
Previous Message Adelaide Yip 2004-02-25 17:00:39 Cannot insert a duplicate key into unique index