pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Benjamin Krajmalnik <kraj@servoyant.com>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: upper and UTF-8
Date: Mon, 26 Jul 2010 22:09:36 -0400
Message-ID: <1280196392-sup-6027@alvh.no-ip.org> (raw)
In-Reply-To: <F4E6A2751A2823418A21D4A160B689886147CA@fletch.stackdump.local>
References: <F4E6A2751A2823418A21D4A160B689886147CA@fletch.stackdump.local>

Excerpts from Benjamin Krajmalnik's message of lun jul 26 17:03:54 -0400 2010:
> I just used the upper(text) function on a database which is utf8 encoded
> and which has spanish text.
> 
> All of the regular characters were properly converted, except for
> characters which had accents.

FWIW it works fine for me:

alvherre=# show lc_collate ;
 lc_collate 
------------
 es_CL.utf8
(1 fila)

alvherre=# select upper('benjamín');
  upper   
----------
 BENJAMÍN
(1 fila)



I suspect that the problem is an incorrect client_encoding setting.



view thread (11+ messages)  latest in thread

Message-ID: <1280196392-sup-6027@alvh.no-ip.org>
Permalink:  ../1280196392-sup-6027@alvh.no-ip.org/
Also on:    postgresql.org/message-id/1280196392-sup-6027@alvh.no-ip.org

 · 

reply

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-admin@postgresql.org
  Cc: alvherre@commandprompt.com, kraj@servoyant.com
  Subject: Re: upper and UTF-8
  In-Reply-To: <1280196392-sup-6027@alvh.no-ip.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