UNICODE-encoded database does not accept umlaut-characters.

From: Erwin Brandstetter <Brsaz(at)gmzx(dot)at>
To: pgsql-general(at)postgresql(dot)org
Subject: UNICODE-encoded database does not accept umlaut-characters.
Date: 2004-01-16 22:17:02
Message-ID: Xns9472ECB0F7814BrandstetterFalterat@213.129.232.14
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Created a new 7.4 database.
# create database foo with encoding = UNICODE;
Then tried to restore my dump from pg 7.2 which was SQL-ASCII or Latin1
encoded (cant tell which of the two, only got the dump of the old database
left after upgrading postgresql.)
Succeeded creating the objects, but no data was restored, instead
postgresql complained about illegal UNICODE characters. Also export of an
MS-Access Database with pgAdmin 1.6 failed with the same errors.

Created a new database with encoding = Latin1. Everything worked fine.

This is a shame, as UNICODE was chosen to avoid future problems with exotic
characters. But I cant get it working because of this very problem!

Is this a bug? Any workarounds?

Regards & TIA
Erwin

--
no z in my mail.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message elein 2004-01-16 22:18:07 Re: Postgresql reporting tool
Previous Message Andrew Sullivan 2004-01-16 22:15:35 Re: embedded/"serverless" (Re: serverless postgresql)