From: Alexis Paul Bertolini <bertolini@computer.org>
To: pgsql-sql@postgresql.org
Subject: Re: Changing character set when the damage is done
Date: Sun, 24 Dec 2006 18:44:04 +0100
Message-ID: <458EBC64.5040808@computer.org> (raw)
In-Reply-To: <20061224165734.GA43931@winnie.fuhr.org>
References: <458C6650.80105@computer.org>
<1166831523.6369.308.camel@localhost.localdomain>
<458EA551.3090008@computer.org>
<20061224165734.GA43931@winnie.fuhr.org>
Michael Fuhr wrote:
> Are you sure that's not a tilde (a wavy line above the A) instead
> of a cedilla (a hook below the A)? The UTF-8 encoding for lowercase e
> with grave is 0xc3 0xa8, which in ISO-8859-1 (LATIN1) or Windows-1252
> is uppercase A with tilde followed by a diaeresis (an umlaut on its
> own). Does the data appear correctly if you do either of the following?
>
> SELECT convert(colname, 'utf8', 'latin1') FROM tablename;
>
Yep, I meant the A with the tilde (the word cedilla sounded Spanish...
lol). Thanks, the "convert" function does the trick for me.
Using win1252 I get a "invalid destination encoding" error, but no
problem since I know for sure there aren't any euro signs.
Thanks!!
Alex.
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: bertolini@computer.org
Subject: Re: Changing character set when the damage is done
In-Reply-To: <458EBC64.5040808@computer.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