Re: Encoding-related errors when moving from 7.3 to 8.0.1

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Carlos Moreno <moreno(at)mochima(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Encoding-related errors when moving from 7.3 to 8.0.1
Date: 2005-03-23 03:44:15
Message-ID: 20050323034415.GB7702@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Mar 22, 2005 at 09:28:17PM -0500, Carlos Moreno wrote:

> >I guess what changed from version 7.4.x to 8.0 is that the default
> >server_encoding changed?
>
> Some further digging through the documentation reveals (in addition
> to the fact that I seem to be an incompetent when it comes to search
> through documentation :-)) that the above is indeed the case.

Oh, I forgot that. In 8.0 the encoding is actually derived from the
locale settings, in case the platforms supports that. Previously,
SQL_ASCII was always the default IIRC.

> Apparently, conversion from latin1 to UNICODE works? (or at least
> doesn't trigger an error -- I wonder if some characters appear now
> incorrectly? I'll check that).

Yes, it works (both ways).

--
Alvaro Herrera (<alvherre[(at)]dcc(dot)uchile(dot)cl>)
"El realista sabe lo que quiere; el idealista quiere lo que sabe" (Anónimo)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-03-23 03:49:49 Re: checkpoint_timeout
Previous Message Tony Caduto 2005-03-23 03:04:42 Re: Question about function body checking and 8.1