From: Hannes Dorbath <light@theendofthetunnel.de>
To: pgsql-admin@postgresql.org
Subject: Re: character problem
Date: Mon, 10 Oct 2005 12:08:29 +0200
Message-ID: <dideic$1ppa$1@news.hub.org> (raw)
In-Reply-To: <didaip$2me3$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>
On 10.10.2005 11:56, Luca Ferrari wrote:
> gestione_personale=# \l
> List of databases
> Name | Owner | Encoding
> --------------------+-----------+-----------
> gestione_database | dbmanager | SQL_ASCII
> gestione_personale | wwwrun | SQL_ASCII
> template0 | dbmanager | SQL_ASCII
> template1 | dbmanager | SQL_ASCII
> (4 rows)
>
> gestione_personale=# show client_encoding;
> client_encoding
> -----------------
> SQL_ASCII
> (1 row)
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.
--
Regards,
Hannes Dorbath
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: light@theendofthetunnel.de
Subject: Re: character problem
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>
* 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