Problems importing Unicode - Mailing list pgsql-general

From matthias@cmklein.de
Subject Problems importing Unicode
Date
Msg-id E1CUE9N-0001j2-00@www.strato-webmail.de
Whole thread Raw
Responses Re: Problems importing Unicode
List 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


pgsql-general by date:

Previous
From: Matt
Date:
Subject: Re: OID's
Next
From: Michael Fuhr
Date:
Subject: Re: ERROR: column "id" does not exist