SQL-ASCII database cleanup - Mailing list pgsql-general

From Mike Blackwell
Subject SQL-ASCII database cleanup
Date
Msg-id CANPAkgtiaR1YMBQwq0YnnZesPBJ-gGYjZSSbjNpSpLyz-r_11w@mail.gmail.com
Whole thread Raw
Responses Re: SQL-ASCII database cleanup
List pgsql-general
I have an older database that was created with SQL-ASCII encoding.  Over time users have managed to enter all manner of interesting characters, mostly via cut and paste from Windows documents.  I'm attempting to clean up and eventually the database to UTF8.  I've managed to find most of the data that won't nicely convert from some-random-encoding to UTF8, but it seems the users are entering it as fast as I can find it. Is there a way the incoming data from a Perl CGI web application can be automatically limited to UTF8 even though the database is SQL-ASCII?


Mike

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: How to implement autostart of postgres?
Next
From: mdxxd
Date:
Subject: Re: Building an home computer for best Poker Tracker performance