From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Lic. Guillermo González" <g.gonzalez@cybira.biz>
Cc: pgsql-admin@postgresql.org
Subject: Re: upper() with LATIN1 problem
Date: Tue, 12 Apr 2005 10:27:31 -0400
Message-ID: <15653.1113316051@sss.pgh.pa.us> (raw)
In-Reply-To: <425BCCC3.40403@cybira.biz>
References: <425BCCC3.40403@cybira.biz>
=?ISO-8859-1?Q?=22Lic=2E_Guillermo_Gonz=E1lez=22?= <g.gonzalez@cybira.biz> writes:
> The problem is:
> - with a text 'magriñá'
> - the upper('magriñá') returns MAGRIñà
> - NOTE that the characters 'ñ' and 'á' didn't change the case.
This is determined by your locale (specifically LC_CTYPE) not by what
the database thinks the encoding is. You'll probably want to re-initdb
in the desired locale.
regards, tom lane
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: tgl@sss.pgh.pa.us, g.gonzalez@cybira.biz
Subject: Re: upper() with LATIN1 problem
In-Reply-To: <15653.1113316051@sss.pgh.pa.us>
References: <425BCCC3.40403@cybira.biz> <15653.1113316051@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