From: Robert D Oden <roden@dbasetek.com>
To: PgSQL ADMIN <pgsql-admin@postgresql.org>
Subject: Converting CP1252 to UTF-8
Date: Thu, 23 Nov 2006 23:39:24 -0600
Message-ID: <4566858C.6010406@dbasetek.com> (raw)
I have a total of 60GB's in several database with encoding set to
SQL_ASCII. I am using version 8.0. The data has always been encoded in
CP1252 prior to inserting into the database.
I have characters between 0x80 and 0x9F scattered throughout the
databases which I cannot loose.
I noticed in version 8.1 I can set the database encoding to WIN1252.
Will the following work to keep from loosing the above characters:
Upgrade to 8.1
Create the databases in CP1252
Restore the data
Dump the databases again to set the appropriate encoding in the dump file
Create the databases with UTF-8 encoding
Restore the data
Thanks in advance,
Doug
--
Robert D Oden
Database Marketing Technologies, Inc
951 Locust Hill Circle
Belton MO 64012-1786
Ph: 816-318-8840
Fax: 816-318-8841
roden@dbasetek.com
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: roden@dbasetek.com
Subject: Re: Converting CP1252 to UTF-8
In-Reply-To: <4566858C.6010406@dbasetek.com>
References: <4566858C.6010406@dbasetek.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