I have a mac os machine on which I took a backup of a table with the following command
psql -h localhost -U prices_root -d prices_deb -c "\copy
(SELECT feed_item_id, pubdate, link, guid, title, summary, content, author, feed_id from feed_items)
TO 'prices_deb_feed_items_dump.csv' with (format csv,header true, delimiter '^');"
My feed_items table has the following structure
My Mac machine has stopped working and I created the same database again on windows with the same user password etc. I tried to restore the data in that table from the CSV data dump using the following command
psql -h localhost -U ch_v3_root -d ch_v3_dev -c "\copy
feed_items(feed_item_id,pubdate,link,guid,title,summary,content,author,feed_id)
FROM 'prices_deb_feed_items_dump.csv' with (format csv,header true, delimiter '^');"
It gives me this error
ERROR: character with byte sequence 0x9d in encoding "WIN1252" has no equivalent in encoding "UTF8"
CONTEXT: COPY feed_items, line 21
I would really appreciate if someone can help me restore this database table. When I tested the backup restore on mac it was working well. On windows I keep getting this error