Re: Differences in UTF8 between 8.0 and 8.1

From: jtv(at)xs4all(dot)nl
To: "Andrej Ricnik-Bay" <andrej(dot)groups(at)gmail(dot)com>
Cc: "Paul Lindner" <lindner(at)inuus(dot)com>, andrew(at)supernews(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Differences in UTF8 between 8.0 and 8.1
Date: 2005-10-27 05:26:17
Message-ID: 24573.125.24.8.136.1130390777.squirrel@125.24.8.136
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Matteo Beccati 2005-10-27 08:59:30 ERROR: invalid memory alloc request size <a_big_number_here>
Previous Message Bruce Momjian 2005-10-27 05:06:14 Re: [HACKERS] expanded \df+ display broken in beta4