Re: locale and spanish acute

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Martín Marqués <martin(at)bugs(dot)unl(dot)edu(dot)ar>
Cc: PostgreSQL general list <pgsql-general(at)postgresql(dot)org>
Subject: Re: locale and spanish acute
Date: 2001-09-12 23:10:37
Message-ID: Pine.LNX.4.30.0109130109320.694-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Martín Marqués writes:

> I'm doing some searches with LIKE and have a problem with words with acute
> vocals. I would like más to be treated the same way as mas, and vice-verse.
>
> Is this because I don't have the locale set correctly?

No, it's because it doesn't work that way. What you probably want to do
is "accent-fold" your strings before sending them through pattern
matching.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vince Vielhaber 2001-09-12 23:16:28 Re: business perspective
Previous Message Martín Marqués 2001-09-12 23:08:06 Re: locale and spanish acute