From: Alvaro Herrera <alvherre@commandprompt.com>
To: Karen Springer <karen.springer@wulfsberg.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: invalid UTF-8 byte sequences and iconv
Date: Tue, 25 Jul 2006 15:29:37 -0400
Message-ID: <20060725192937.GC21005@surnet.cl> (raw)
In-Reply-To: <44C66B33.3070504@wulfsberg.com>
References: <44C66B33.3070504@wulfsberg.com>
Karen Springer wrote:
> Hi,
>
> We have set up a new server and are needing to move our database from
> 7.3 to 8.1.4. On restore I'm getting the 'invalid UTF-8 byte sequence'
> error message. If I use the command iconv -c -f UTF-8 -t UTF-8 -o
> cleanfile.sql dumpfile.sql, then the characters are deleted and the
> restore goes smoothly. The problem is that we want those characters.
> They are for example the degree symbol and the micro symbol. Is there
> anyway to bring these characters over? Thanks in advance.
Huh, maybe using the real source encoding instead? Try, for example,
using Latin-1.
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
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: alvherre@commandprompt.com, karen.springer@wulfsberg.com
Subject: Re: invalid UTF-8 byte sequences and iconv
In-Reply-To: <20060725192937.GC21005@surnet.cl>
References: <44C66B33.3070504@wulfsberg.com> <20060725192937.GC21005@surnet.cl>
* 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