pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ian Barwick <barwick@gmx.net>
To: mallah@trade-india.com
To: pgsql-sql@postgresql.org
Subject: Re: Getting rid of accents..
Date: Wed, 28 May 2003 00:15:02 +0200
Message-ID: <200305280015.02483.barwick@gmx.net> (raw)
In-Reply-To: <1140.219.65.226.152.1054068906.squirrel@mail.trade-india.com>
References: <1140.219.65.226.152.1054068906.squirrel@mail.trade-india.com>

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




view thread (6+ messages)  latest in thread

Message-ID: <200305280015.02483.barwick@gmx.net>
Permalink:  ../200305280015.02483.barwick@gmx.net/
Also on:    postgresql.org/message-id/200305280015.02483.barwick@gmx.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: barwick@gmx.net, mallah@trade-india.com
  Subject: Re: Getting rid of accents..
  In-Reply-To: <200305280015.02483.barwick@gmx.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox