From: Scott Chapman <scott_list@mischko.com>
To: pgsql-admin@postgresql.org
Subject: Export from 7.4 and import to 8.0 - unicode errors
Date: Wed, 13 Oct 2004 21:28:20 -0700
Message-ID: <200410132128.20685.scott_list@mischko.com> (raw)
I'm getting Unicode errors when I export (with pg_dump) my database from
version 7.4 and then import it into a new 8.0 database (with psql).
The situation is that this data has fields with ascii characters in them and
utf-8 characters also. Both types of characters are in a given field. The
entire dump is NOT utf-8 encoded.
I can't figure out how to get this to be imported into the new database
without errors unless I turn the entire thing into utf-8 using recode. That
does not work well because the fields in question have to be utf8_decoded (in
php) TWICE before they display correctly.
How do I deal with this? It's got me very puzzled!
Thanks!
Scott
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: scott_list@mischko.com
Subject: Re: Export from 7.4 and import to 8.0 - unicode errors
In-Reply-To: <200410132128.20685.scott_list@mischko.com>
References: <200410132128.20685.scott_list@mischko.com>
* 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