Skip site navigation (1) Skip section navigation (2)

Re: finding bogus UTF-8

From: dennis jenkins <dennis(dot)jenkins(dot)75(at)gmail(dot)com>
To: PostgreSQL general <pgsql-general(at)postgresql(dot)org>
Subject: Re: finding bogus UTF-8
Date: 2011-02-10 22:45:16
Message-ID: AANLkTimRY8d+Ka0QzhwUYmZaKrbke7vQ0SPZwMFB_ZSD@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-general
>
> If you are interested, I can email to you the C and Perl source.
>
> It runs like this:
>
> # time pg_restore /db-dumps/some_ascii_pgdump.bin | ./ascii-tester |
> ./bad-ascii-report.pl > unclean-ascii.rpt

http://www.ecoligames.com/~djenkins/pgsql/

Disclaimer: I offer NO warranty.  Use at your own risk.  Code does
minimal error checking (its a hack / tool for manual use, not reliable
production use).

C code compiles cleanly with gcc.  Perl code uses no libraries (just a
STDIN -> STDOUT processor).  This code should run damn near anywhere.

The code will stay on my web server until I forget about it and re-org
stuff in a few weeks, so grab it while you can.

In response to

pgsql-general by date

Next:From: Bill MoranDate: 2011-02-10 22:50:14
Subject: Re: Schema version control
Previous:From: Rob SargentDate: 2011-02-10 22:26:49
Subject: Re: Schema version control

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group