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: Thu, 27 Oct 2005 07:26:17 +0200 (CEST)
- Message-id: <24573(dot)125(dot)24(dot)8(dot)136(dot)1130390777(dot)squirrel(at)125(dot)24(dot)8(dot)136>
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
Home |
Main Index |
Thread Index