public inbox for [email protected]
help / color / mirror / Atom feedFrom: Bruce Momjian <[email protected]>
To: Gavin Sherry <[email protected]>
Cc: Peter Eisentraut <[email protected]>
Cc: [email protected]
Subject: Re: Upcoming PG re-releases
Date: Tue, 6 Dec 2005 23:37:56 -0500 (EST)
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
Exactly what does vim do that iconv does not? Fuzzy encoding sounds
scary to me.
---------------------------------------------------------------------------
Gavin Sherry wrote:
> Hi,
>
> On Tue, 6 Dec 2005, Bruce Momjian wrote:
>
> >
> > Nice, updated.
> >
> > ---------------------------------------------------------------------------
> >
>
> I think my suggestion from the other day is useful also.
>
> ---
>
> Omar Kilani and I have spent a few hours looking at the problem. For
> situations where there is a lot of invalid encoding, manual fixing is just
> not viable. The vim project has a kind of fuzzy encoding conversion which
> accounts for a lot of the non-UTF8 sequences in UTF8 data. You can use vim
> to modify your text dump as follows:
>
> vim -c ":wq! ++enc=utf8 fixed.dump" original.dump
>
> ---
>
> I think this is a viable option for people with a non-trivial amount of
> data and don't see manual fixing or potentially losing data as a viable
> option.
>
> Thanks,
>
> Gavin
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>
--
Bruce Momjian | http://candle.pha.pa.us
[email protected] | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
view thread (55+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: Re: Upcoming PG re-releases
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox