Re: lower does not handle german umlaut

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Pilsl <pilsl(at)goldfisch(dot)at>
Cc: postgres mailinglist <pgsql-general(at)postgresql(dot)org>
Subject: Re: lower does not handle german umlaut
Date: 2001-11-07 17:12:16
Message-ID: 5109.1005153136@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Peter Pilsl <pilsl(at)goldfisch(dot)at> writes:
> If I perform a select lower() on uppercased german umlauts, these wont be
> converted to lowercase.

AFAIK this should work if (a) the system was built with --enable-locale
and (b) you are running it in an appropriate locale setting. The
SQL lower() function just invokes the C library's tolower() conversion
routine, so if it doesn't work your beef is with tolower() ...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-11-07 17:25:17 Re: Performance Question Followup No.2
Previous Message Jean-Michel POURE 2001-11-07 16:54:32 Re: functions, shell script