| From: | tony <tony(at)animaproductions(dot)com> |
|---|---|
| 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-14 09:06:51 |
| Message-ID: | 1005728811.22347.40.camel@tonux |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Wed, 2001-11-07 at 18:12, Tom Lane wrote:
> 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() ...
try select to_ascii()
I use it for French
Cheers
Tony Grant
--
RedHat Linux on Sony Vaio C1XD/S
http://www.animaproductions.com/linux2.html
Macromedia UltraDev with PostgreSQL
http://www.animaproductions.com/ultra.html
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Daniel Rubio | 2001-11-14 12:52:02 | How to store koi8-r (cyrillic) data? |
| Previous Message | Antonio Fiol Bonnín | 2001-11-14 08:17:59 | Re: [GENERAL] Storing a tree |