pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mike Blackwell <maiku41@sbcglobal.net>
To: pgsql-admin@postgresql.org
Subject: Character encoding conversion
Date: Sat, 09 Feb 2008 08:28:58 -0600
Message-ID: <47ADB8AA.6070305@sbcglobal.net> (raw)

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





view thread (4+ messages)  latest in thread

Message-ID: <47ADB8AA.6070305@sbcglobal.net>
Permalink:  ../47ADB8AA.6070305@sbcglobal.net/
Also on:    postgresql.org/message-id/47ADB8AA.6070305@sbcglobal.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: maiku41@sbcglobal.net
  Subject: Re: Character encoding conversion
  In-Reply-To: <47ADB8AA.6070305@sbcglobal.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox