BUG #4336: Strange behaviour for to_ascii

From: "Maxime Carbonneau" <manitou(at)maikan(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #4336: Strange behaviour for to_ascii
Date: 2008-07-30 18:18:55
Message-ID: 200807301818.m6UIItPb071317@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 4336
Logged by: Maxime Carbonneau
Email address: manitou(at)maikan(dot)com
PostgreSQL version: 8.3.3
Operating system: Mac OS X 10.5.4
Description: Strange behaviour for to_ascii
Details:

With PostgreSQL 8.2.5, I used to_ascii to remove accents:
SELECT TO_ASCII(CONVERT('école' USING utf8_to_iso_8859_15), 'latin9');
=> ecole
With PostgreSQL 8.3.3, I had to made some changes since convert using is
gone. I'm using: SELECT
to_ascii(encode(convert_to('école','LATIN9'),'escape'),'LATIN9');
but the result is
=> \351cole

How can I remove accent letter with PostgreSQL 8.3.3?

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Craig Ringer 2008-07-31 01:11:05 Re: BUG #4335: Error w/ PostgreSQL & EnterpriseDB Stack Builder
Previous Message Tom Lane 2008-07-30 14:42:38 Re: Segfault manifesting in libm from cost_sort