Re: Getting rid of accents..

Ian Barwick <barwick@gmx.net>

From: Ian Barwick <barwick@gmx.net>
To: <mallah@trade-india.com>, <pgsql-sql@postgresql.org>
Date: 2003-05-27T22:15:02Z
Lists: pgsql-sql
On Tuesday 27 May 2003 22:55, mallah@trade-india.com wrote:
> Is there any easy way for converting accented text to
> closest text  without accents in postgresql ?
>
> eg:
>
> BÂLÂ MORGHÂB  to  BALA MORGHAB

Have you looked at to_ascii()? Something along the lines of

select to_ascii('Â', 'LATIN1')


Ian Barwick
barwick@gmx.net