I'm fairly new to PostgreSQL 9.1 but I need it, so here I am.
This a similar question to this one, so I have encoded a database with LATIN-1 as suggested but can't copy a CSV file into a table within the database.
ERROR: invalid byte sequence for encoding "UTF8": 0xe17371
Googling doesn't get me anywhere and I am working with Spanish characters.
I think the data in your CSV file should match the client_encoding parameter.