pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: Andrew M <andrew@jibeya.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: HowTo change encoding type....
Date: Fri, 26 Nov 2004 08:30:41 +0100
Message-ID: <200411260830.41161.peter_e@gmx.net> (raw)
In-Reply-To: <E61EA202-3F11-11D9-9CBA-0003938366A4@jibeya.com>
References: <E61EA202-3F11-11D9-9CBA-0003938366A4@jibeya.com>

Andrew M wrote:
> how do I change the encoding type in postgreSQL (8) from UTF-8 to
> ISO-8859-1?

Dump your database, drop your database, recreate your database with the 
different encoding, reload your data.  Make sure the client encoding is 
set correctly during all this.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/



view thread (2+ messages)

Message-ID: <200411260830.41161.peter_e@gmx.net>
Permalink:  ../200411260830.41161.peter_e@gmx.net/
Also on:    postgresql.org/message-id/200411260830.41161.peter_e@gmx.net

 · 

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: pgsql-sql@postgresql.org
  Cc: peter_e@gmx.net, andrew@jibeya.com
  Subject: Re: HowTo change encoding type....
  In-Reply-To: <200411260830.41161.peter_e@gmx.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox