Howto read a UTF-8 CSV with COPY? - Mailing list pgsql-novice

From Andreas
Subject Howto read a UTF-8 CSV with COPY?
Date
Msg-id 4CDC67CD.30004@gmx.net
Whole thread Raw
Responses Re: Howto read a UTF-8 CSV with COPY?
List pgsql-novice
Hi,
I'd like to import some data from ms-office that has text columns with
international characters in it.

COPY complains about illegal byte sequences.

When I placed a "set client_encoding = LATIN1" in front of the COPY
command, COPY was happy.
It still didn't work as expected. There were empty attributes in the
imported table when there were accent decorated characters in the source
file.

Is there a way to import UTF8 encoded csv files ?

pgsql-novice by date:

Previous
From: Bastiaan Olij
Date:
Subject: Interesting install issues on Windows 2003 domain server
Next
From: LazyTrek
Date:
Subject: Re: Howto read a UTF-8 CSV with COPY?