Accent-insensitive search

From: turbovince <xvincex(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Accent-insensitive search
Date: 2007-07-09 21:33:49
Message-ID: 1184016829.689012.314350@r34g2000hsd.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello, I would like to perform some accent-insensitive searches on my
database, which means that a select query with condition, say, WHERE
NAME = 'HELLÔ' would return records where name is 'HELLO' as well.

My data is encoded in Unicode (UTF8) and therefore I cannot use
Postgre's to_ascii() trick to achieve accent-insensitive searches.

Is there any way I could perform such searches with an UTF8 encoding ?

Thank you.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message CG 2007-07-09 21:40:56 Re: xpath_* namespace bug
Previous Message pwing 2007-07-09 21:32:30 question on scan of clustered index