Problems importing Unicode

From: matthias(at)cmklein(dot)de
To: pgsql-general(at)postgresql(dot)org
Subject: Problems importing Unicode
Date: 2004-11-17 00:58:21
Message-ID: E1CUE9N-0001j2-00@www.strato-webmail.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have batch files with entries such as

INSERT INTO country VALUES (248,'ALA','AX','Åland Islands');
INSERT INTO country VALUES (384,'CIV','CI','Côte d\'Ivoire');

I tried to execute them using "pgsql \i filename.sql"

Unfortunately, I keep getting an error message:
"ERROR: invalid byte sequence for encoding "UNICODE": 0xc56c"

How can that be possible?
My database is set to encoding "UNICODE" and so are the batchfiles.

Why does that not work?

Thanks

Matt

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2004-11-17 01:05:06 Re: ERROR: column "id" does not exist
Previous Message Matt 2004-11-16 22:54:29 Re: OID's