From: Markus Bertheau <twanger@bluetwanger.de>
To: soeren.laursen@scrooge.dk
Cc: pgsql-admin@postgresql.org
Subject: Re: Migrating from 7.1 to 7.2 using pg_dump/pg_restore
Date: 06 Jul 2003 23:13:33 +0200
Message-ID: <1057526012.2570.1.camel@saphir> (raw)
In-Reply-To: <3F087F18.11871.1F94D4B@localhost>
References: <3F087F18.11871.1F94D4B@localhost>
В Вск, 06.07.2003, в 19:57, Soeren Laursen пишет:
> pg_restore: ERROR: copy: line 1, Invalid UNICODE character sequence
> found (0xf87665)
> No need to say that the new database is created with UNICODE
> encoding?!
use
\encoding latin1
once when you import the data. That'll convert the data from latin1 to
utf-8 encoded unicode on the fly. Then again I don't know what charset
denmark uses usually, probably some other latin variant.
--
Markus Bertheau.
Berlin, Berlin.
Germany.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: twanger@bluetwanger.de, soeren.laursen@scrooge.dk
Subject: Re: Migrating from 7.1 to 7.2 using pg_dump/pg_restore
In-Reply-To: <1057526012.2570.1.camel@saphir>
References: <3F087F18.11871.1F94D4B@localhost> <1057526012.2570.1.camel@saphir>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox