Change/convert encoding?

From: Erno Kuusela <erno(at)iki(dot)fi>
To: pgsql-general(at)postgresql(dot)org
Subject: Change/convert encoding?
Date: 2000-10-02 09:40:11
Message-ID: 20001002124011.S6163@erno.iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

hello,

i have a database and in it strings with accented characters in
latin-1 encoding, but the database has been mistakenly created with
unicode encoding. as you all know this makes pg_dump break.

what i'm enquiring is - is there a way to change the encoding
and preserve the data? i only know of one way to specify the
encoding, initdb -e, but afaik that will nuke all the data also.
and i can't use pg_dump, obviously...

i'm using postgresql version 6.5.18.

ps. i also get odd effects like strings with "ä" turning into
"(e6)" at times, i suppose it's also related the incorrect
encoding setting?

-- erno

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Mount 2000-10-02 10:45:55 Re: Re: JDBC Performance
Previous Message Gilles DAROLD 2000-10-02 08:07:33 Re: full text indexing