Backup and restore UTF8 data - Mailing list pgsql-general

From Benjamin Arai
Subject Backup and restore UTF8 data
Date
Msg-id 45A82186.1020008@araisoft.com
Whole thread Raw
Responses Re: Backup and restore UTF8 data  (Devrim GUNDUZ <devrim@CommandPrompt.com>)
List pgsql-general
Hi,

I am trying to backup an installation (8.0.3) and restore it to a new
(8.2.1) installation.  I am am running the following command the backup
the data.

pg_dumpall > outfile

Then on the new machine I am simply running:

ENCODING=UTF8 psql -f outfile postgres

I get the following error for some of the records.

psql:outfile:151275: ERROR:  invalid byte sequence for encoding "UTF8": 0x92

Does anybody know what I can do to fix this?

Benjamin

pgsql-general by date:

Previous
From: "Simon Riggs"
Date:
Subject: Re: Autovacuum Improvements
Next
From: Devrim GUNDUZ
Date:
Subject: Re: Backup and restore UTF8 data