Re: Differences in UTF8 between 8.0 and 8.1

Поиск
Список
Период
Сортировка
От jtv@xs4all.nl
Тема Re: Differences in UTF8 between 8.0 and 8.1
Дата
Msg-id 24573.125.24.8.136.1130390777.squirrel@125.24.8.136
обсуждение исходный текст
Ответ на Re: Differences in UTF8 between 8.0 and 8.1  (Andrej Ricnik-Bay <andrej.groups@gmail.com>)
Список pgsql-hackers
Andrej Ricnik-Bay wrote:

> How about an ugly kludge  ...
>
> split -a 3 -d -b 1048576 ../path/to/dumpfile dumpfile
> for i in `ls -1 dumpfile*`; do   iconv -c -f UTF8 -t UTF8 $i;done
> cat dumpfile* > new_dump

Not with UTF-8...  You might break in the middle of a multibyte character.


Jeroen




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

Предыдущее
От: Gayathri TK
Дата:
Сообщение: Having trouble startin off with the code..
Следующее
От: Matteo Beccati
Дата:
Сообщение: ERROR: invalid memory alloc request size