pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: José Roberto Motta Garcia <garcia@cptec.inpe.br>
Cc: pgsql-admin@postgresql.org
Subject: Re: Restoring wrong accents
Date: Fri, 23 Nov 2007 15:30:29 -0500
Message-ID: <18370.1195849829@sss.pgh.pa.us> (raw)
In-Reply-To: <474726D9.4020907@cptec.inpe.br>
References: <474726D9.4020907@cptec.inpe.br>

=?ISO-8859-1?Q?Jos=E9_Roberto_Motta_Garcia?= <garcia@cptec.inpe.br> writes:
> We're having problems restoring the characters correctly here. We have a
> 8.1 PG on Suse created with LATIN1 and pt_BR. As a latin language we use
> several special chars like á, ã, ç, í, etc.

> We made a dump -a and after restoring it to an also 8.1 PG on Suse
> created with LATIN1 and pt_BR we noticed that a lot of these special
> chars weren't restored correctly. We couldn't notice any rule for that,

It seems highly unlikely that you actually had the same encoding in both
cases, since if that were the case no conversion would have occurred.
Please double-check the two database encodings.  Also, what encoding is
called out in the first few lines of the dump file?

			regards, tom lane



view thread (3+ messages)  latest in thread

Message-ID: <18370.1195849829@sss.pgh.pa.us>
Permalink:  ../18370.1195849829@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18370.1195849829@sss.pgh.pa.us

 · 

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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, garcia@cptec.inpe.br
  Subject: Re: Restoring wrong accents
  In-Reply-To: <18370.1195849829@sss.pgh.pa.us>

* 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