X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id DB3D2B439BC for ; Sun, 6 Jul 2003 21:14:02 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 52994-04 for ; Sun, 6 Jul 2003 18:13:40 -0300 (ADT) Received: from saphir (dsl-082-082-094-108.arcor-ip.net [82.82.94.108]) by svr1.postgresql.org (Postfix) with ESMTP id ED2C5B439BE for ; Sun, 6 Jul 2003 18:13:37 -0300 (ADT) Received: by saphir (Postfix, from userid 1000) id 8C39B1310A1; Sun, 6 Jul 2003 23:13:33 +0200 (CEST) Subject: Re: Migrating from 7.1 to 7.2 using pg_dump/pg_restore From: Markus Bertheau To: soeren.laursen@scrooge.dk Cc: pgsql-admin@postgresql.org In-Reply-To: <3F087F18.11871.1F94D4B@localhost> References: <3F087F18.11871.1F94D4B@localhost> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Message-Id: <1057526012.2570.1.camel@saphir> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.0 Date: 06 Jul 2003 23:13:33 +0200 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/55 X-Sequence-Number: 9396 =D0=92 =D0=92=D1=81=D0=BA, 06.07.2003, =D0=B2 19:57, Soeren Laursen =D0=BF= =D0=B8=D1=88=D0=B5=D1=82: > 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. --=20 Markus Bertheau. Berlin, Berlin. Germany.