From: Soeren Laursen <sl@scrooge.dk>
To: Markus Bertheau <twanger@bluetwanger.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: Migrating from 7.1 to 7.2 using pg_dump/pg_restore fails - UNICODE error
Date: Mon, 07 Jul 2003 00:01:04 +0200
Message-ID: <3F08B840.14696.2D891A9@localhost> (raw)
In-Reply-To: <1057526012.2570.1.camel@saphir>
References: <3F087F18.11871.1F94D4B@localhost>
Hi,
I am not sure how and where I should use the \encoding latin1
Something like,
psql test01
\encodinng latin1
\q
pg_restore .....
Regards
Søren,
> Ð’ Ð’Ñк, 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: sl@scrooge.dk, twanger@bluetwanger.de
Subject: Re: Migrating from 7.1 to 7.2 using pg_dump/pg_restore fails - UNICODE error
In-Reply-To: <3F08B840.14696.2D891A9@localhost>
References: <3F087F18.11871.1F94D4B@localhost> <3F08B840.14696.2D891A9@localhost>
* 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