Re: pg_dumpall and convert from LATIN1 to UTF-8?

Поиск
Список
Период
Сортировка
От CoL
Тема Re: pg_dumpall and convert from LATIN1 to UTF-8?
Дата
Msg-id c1n6o8$1ms7$1@news.hub.org
обсуждение исходный текст
Ответ на pg_dumpall and convert from LATIN1 to UTF-8?  (someone@arbitrary.org (Joseph))
Список pgsql-novice
hi,

Joseph wrote:

> Hi Everyone,
>
> I have used pg_dumpall on a database that was created with LATIN1
> encoding and has a whole bunch of messy latin1 data in it.
>
> I want to restore this data to a new db with UTF-8 encoding, with the
> data converted so the 8859-1 characters display properly.
>
> How should I go about doing this?

try function convert (and check CREATE CONVERSION)

c.

В списке pgsql-novice по дате отправления:

Предыдущее
От: tully
Дата:
Сообщение: Column Headings using Comment?
Следующее
От: Adelaide Yip
Дата:
Сообщение: Cannot insert a duplicate key into unique index