Re: BUG #12542: Incorrect behaviour of lower and upper on accented vocals in UTF8

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: orsini(at)unive(dot)it
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #12542: Incorrect behaviour of lower and upper on accented vocals in UTF8
Date: 2015-01-14 14:50:56
Message-ID: 20923.1421247056@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

orsini(at)unive(dot)it writes:
> The following bug has been logged on the website:
> Bug reference: 12542
> Logged by: Renzo Orsini
> Email address: orsini(at)unive(dot)it
> PostgreSQL version: 9.3.5
> Operating system: Mac OS X
> Description:

> When lower and upper are applied to UTF8 strings with accented letters, they
> have an incorrect behaviour, for instance, upper('Autorit') returns
> 'AUTORIT' and not 'AUTORIT' as it should. Similarly, lower('AUTORIT')
> returns lower('autorit').

Yeah, unfortunately, this is a bug in Mac OS X itself: the UTF8 locales
don't really work right. You might have better luck if you can adopt an
ISO8859 encoding.

There has been some discussion of working around OS X's deficiencies
in this area, but it's a significant bit of work and hasn't been
done yet.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Kevin Grittner 2015-01-14 18:59:20 Re: BUG #12538: Transação concorrente
Previous Message 16blackwood16 2015-01-14 14:29:24 BUG #12548: I cannot connect to database