Remove diacritic - Mailing list pgsql-general

From Jiří Němec
Subject Remove diacritic
Date
Msg-id 1227347816.20061211084309@menea.cz
Whole thread Raw
List pgsql-general
Good morning,

I would like to remove diacritic from string like 'žluťoučký kůň'
(UTF-8) and transform it into 'zlutoucky kun'. I have used function
convert(); and SQL_ASCII as destination encoding.

Converted string still contains diacritic:

SELECT convert('žluťoučký kůň','UTF8','SQL_ASCII')

array(1) {
["convert"]=>
string(19) "žluťoučký kůň"
}

Thanks for your help.

--
Jiri Nemec
http://www.menea.cz/


pgsql-general by date:

Previous
From: "Jimmy Zhang"
Date:
Subject: vtd-xml 1.9 released
Next
From: "surabhi.ahuja"
Date:
Subject: Postgres 8.1.5, 64 bit server running on FC4