Re: Invalid byte sequence for encoding "UTF8"

Поиск
Список
Период
Сортировка
От John DeSoi
Тема Re: Invalid byte sequence for encoding "UTF8"
Дата
Msg-id 82DF53CA-A838-48E7-9133-574FEE5E0E64@pgedit.com
обсуждение исходный текст
Ответ на Re: Invalid byte sequence for encoding "UTF8"  ("Neil Saunders" <n.j.saunders@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Raimon Fernandez
Дата:
Сообщение: Re: aggregate function ?
Следующее
От: Richard Broersma Jr
Дата:
Сообщение: Re: aggregate function ?