pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: sf@4js.com
To: pgsql-bugs@postgresql.org
Subject: BUG #10707: UPPER() does not convert non-ASCII chars
Date: Fri, 20 Jun 2014 14:55:38 +0000
Message-ID: <20140620145538.2634.85619@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      10707
Logged by:          FLAESCH Sebastien
Email address:      sf@4js.com
PostgreSQL version: 9.4beta1
Operating system:   Linux Debian (3.14-1-amd64 #1 SMP Debian 3.14.4-1)
Description:        

Created my test1 db with utf8 charset, when using the UPPER() function, only
ASCII chars are converted to uppercase.

I am missing a configuration option?

I have also 9.3.2 installed, and the characters are converted to uppercase.

test1=# SELECT pg_encoding_to_char(encoding) FROM pg_database WHERE datname
= 'test1';
 pg_encoding_to_char 
---------------------
 UTF8
(1 row)

test1=# select upper('âãäåçèéêëô') ;
   upper    
------------
 âãäåçèéêëô
(1 row)




-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (3+ messages)  latest in thread

Message-ID: <20140620145538.2634.85619@wrigleys.postgresql.org>
Permalink:  ../20140620145538.2634.85619@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20140620145538.2634.85619@wrigleys.postgresql.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 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-bugs@postgresql.org
  Cc: sf@4js.com
  Subject: Re: BUG #10707: UPPER() does not convert non-ASCII chars
  In-Reply-To: <20140620145538.2634.85619@wrigleys.postgresql.org>
  References: <20140620145538.2634.85619@wrigleys.postgresql.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