Thread: Character encoding conversion

Character encoding conversion

From
Mike Blackwell
Date:
I have a database which was originally created with LATIN1 encoding. 
I'd like to move it to UTF8.  The data will load ok (COPY)  but I am
getting 'invalid byte sequence for encoding..." messages when accessing
the data.

Is there a way to automatically convert the offending characters, or to
easily locate them in a pg_dump file so they can be converted by hand?

Mike