Re: how to ignore accents?

From: Ennio-Sr <nasr(dot)laili(at)tin(dot)it>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: how to ignore accents?
Date: 2005-04-02 14:11:41
Message-ID: 20050402141141.GA2107@deby.ei.hnet
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

* Michael Fuhr <mike(at)fuhr(dot)org> [010405, 18:41]:
> On Fri, Apr 01, 2005 at 08:36:35PM +0200, Ennio-Sr wrote:
> >
> > RETURN translate($1, "\342\347\350\351\352\364\373", "aceeeou");
> > ^ ^ ^ ^

>
> See the PL/pgSQL documentation to get a better idea of the syntax:
>
> http://www.postgresql.org/docs/7.4/interactive/plpgsql.html
>
> RETURN translate($1, ''ABC'', ''abc'');
> ^^ ^^ ^^ ^^

Hi Michael,
thank you for the nice lessson and for the very instructive link.
I read it thouroughly, went back to my example and still got the same
error: Grrr!!!!!!!!!!!
Then, finally, I discovered my error was as stupid as the difference
between _"_ and _''_ !
Now it works greatly! ..... :-)
Cheers,
Ennio.

--
[Perche' usare Win$ozz (dico io) se ..."anche uno sciocco sa farlo. \\?//
Fa' qualche cosa di cui non sei capace!" (diceva Henry Miller) ] (°|°)
[Why use Win$ozz (I say) if ... "even a fool can do that. )=(
Do something you aren't good at!" (as Henry Miller used to say) ]

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Ennio-Sr 2005-04-02 16:45:04 Re: how to ignore accents?
Previous Message Kim Kohen 2005-04-02 09:35:40 Re: Boolean search