Step 1) Find the encoding of the dump
head dump_file | grep encoding
SET client_encoding = 'SQL_ASCII';
Step 2) Create the database and specify the encoding
createdb --encoding SQL_ASCII dbname
Step 3) Now you can restore the dump
psql dbname < dump_file