Re: Easy way to convert a database from WIN1252 to UTF8? - Mailing list pgsql-general

From Sam Mason
Subject Re: Easy way to convert a database from WIN1252 to UTF8?
Date
Msg-id 20100701164418.GI7584@samason.me.uk
Whole thread Raw
In response to Re: Easy way to convert a database from WIN1252 to UTF8?  (Mike Christensen <mike@kitchenpc.com>)
Responses Re: Easy way to convert a database from WIN1252 to UTF8?  (Mike Christensen <mike@kitchenpc.com>)
List pgsql-general
On Thu, Jul 01, 2010 at 09:31:12AM -0700, Mike Christensen wrote:
> Then, I edited the file in Notepad and saved it as UTF8 which also
> appears to have worked.

I don't think you want to be doing this. The file should contain a "set
client_encoding" of the correct value which will let PG to do the "right
thing" when you import it back into a UTF8 database.

--
  Sam  http://samason.me.uk/

pgsql-general by date:

Previous
From: Mike Christensen
Date:
Subject: Re: Easy way to convert a database from WIN1252 to UTF8?
Next
From: Mike Christensen
Date:
Subject: Re: Easy way to convert a database from WIN1252 to UTF8?