Re: Invalid byte sequence for encoding "UTF8" - Mailing list pgsql-novice

From John DeSoi
Subject Re: Invalid byte sequence for encoding "UTF8"
Date
Msg-id 82DF53CA-A838-48E7-9133-574FEE5E0E64@pgedit.com
Whole thread Raw
In response to Re: Invalid byte sequence for encoding "UTF8"  ("Neil Saunders" <n.j.saunders@gmail.com>)
List pgsql-novice
Hi Neil,

On May 15, 2007, at 5:51 PM, Neil Saunders wrote:

> Any idea why the --encoding flag didn't do this via pg_dump?


I'm not really sure. I supposed for one thing it might be difficult
to do the right thing going from SQL_ASCII to UTF8.

I had some issues with 8.0 -> 8.1 that I was able to fix with
something like this before dumping it:

update my_table set comments = translate(comments,  chr(169), 'c')
where comments like '%' || chr(169) || '%';



John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


pgsql-novice by date:

Previous
From: Raimon Fernandez
Date:
Subject: Re: aggregate function ?
Next
From: Richard Broersma Jr
Date:
Subject: Re: aggregate function ?