Re: error while trying to change the database encoding on a database - Mailing list pgsql-general

From Jasen Betts
Subject Re: error while trying to change the database encoding on a database
Date
Msg-id ihvap5$7t3$3@reversiblemaps.ath.cx
Whole thread Raw
In response to error while trying to change the database encoding on a database  (Geoffrey Myers <lists@serioustechnology.com>)
List pgsql-general
On 2011-01-24, Geoffrey Myers <lists@serioustechnology.com> wrote:
> Adrian Klaver wrote:

> Thanks for the suggestion.  As it stands, we are getting different
> errors for different hex characters, thus the solution we need is the
> ability to identify the characters that won't convert from SQL_ASCII to
> UTF8.  Is there a resource that would identify these characters?

use "iconv" to strip out the invalid chacaters from the SQL and then
compare before and after.

 I think the iconv command is

  iconv -f UTF8 -t UTF8 -c


--
⚂⚃ 100% natural

pgsql-general by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: Full Text Index Scanning
Next
From: Jasen Betts
Date:
Subject: Re: Dumpall without OID