0

I am trying to import a csv file into postgres table. However getting this error:

invalid byte sequence for encoding "UTF8": 0xb4

Command i am using is:

\copy classified_advertisement from '/tmp/jangoads.csv' using delimiters ',' CSV HEADER ENCODING 'UTF8';

1 Answer 1

1

Your file is not in UTF-8. Find out its actual encoding and specify that.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.