From: Luca Ferrari <fluca1978@infinito.it>
To: pgsql-admin@postgresql.org
Subject: Re: character problem
Date: Mon, 10 Oct 2005 14:24:46 +0200
Message-ID: <434A5D8E.1000401@infinito.it> (raw)
In-Reply-To: <dideic$1ppa$1@news.hub.org>
References: <4349106C.6080206@infinito.it>
<did562$epf$1@news.hub.org>
<434A2792.1070106@infinito.it>
<didaip$2me3$1@news.hub.org>
<dideic$1ppa$1@news.hub.org>
Hannes Dorbath's cat, on 10/10/2005 12.08, walking on the keyboard wrote:
> OK, so you are not using Unicode. I don't know much about the SQL_ASCII
> charset, but I expect it to slightly differ from LATIN1. Type
>
> SET client_encoding = LATIN1;
>
> in psql, then SELECT some data containing the chars you have problems
> with and see if it is fixed. If not, INSERT a new row with such chars
> from psql, SELECT that row again and if the chars look right now, your
> other rows are stored invalid in the datebase and you need to convert
> them somehow.
The old rows are still displayed in a bad format, the newly inserted one
is instead shown rightly. Also data in pg_dump present wrong strings,
thus any suggestion about how to reconvert already inserted data?
Moreover, the set client_encoding change is permanent or do I have to
configure it in the postgresql.conf file?
Thanks,
Luca
--
Luca Ferrari
fluca1978@infinito.it
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: fluca1978@infinito.it
Subject: Re: character problem
In-Reply-To: <434A5D8E.1000401@infinito.it>
References: <4349106C.6080206@infinito.it> <did562$epf$1@news.hub.org> <434A2792.1070106@infinito.it> <didaip$2me3$1@news.hub.org> <dideic$1ppa$1@news.hub.org> <434A5D8E.1000401@infinito.it>
* 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