Re: [PATCH] Completed unaccent dictionary with many missing characters

From: Przemysław Sztoch <przemyslaw(at)sztoch(dot)pl>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Subject: Re: [PATCH] Completed unaccent dictionary with many missing characters
Date: 2022-06-21 13:41:48
Message-ID: b776ca21-a825-d81f-d4f5-739295238cec@sztoch.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Thomas Munro wrote on 21.06.2022 02:53:
> On Tue, Jun 21, 2022 at 12:11 PM Michael Paquier <michael(at)paquier(dot)xyz> wrote:
>> Yeah, Latin-ASCII.xml is getting it wrong here, then. unaccent
>> fetches the thing from this URL currently:
>> https://raw.githubusercontent.com/unicode-org/cldr/release-41/common/transforms/Latin-ASCII.xml
> Oh, we're using CLDR 41, which reminds me: CLDR 36 added SOUND
> RECORDING COPYRIGHT[1] so we could drop it from special_cases().
>
> Hmm, is it possible to get rid of CYRILLIC CAPITAL LETTER IO and
> CYRILLIC SMALL LETTER IO by adding Cyrillic to PLAIN_LETTER_RANGES?
>
> That'd leave just DEGREE CELSIUS and DEGREE FAHRENHEIT. Not sure how
> to kill those last two special cases -- they should be directly
> replaced by their decomposition.
>
> [1] https://unicode-org.atlassian.net/browse/CLDR-11383
I patch v3 support for cirilic is added.
Special character function has been purged.
Added support for category: So - Other Symbol. This category include
characters from special_cases().

--
Przemysław Sztoch | Mobile +48 509 99 00 66

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Aleksander Alekseev 2022-06-21 13:48:49 Re: doc: Bring mention of unique index forced transaction wait behavior outside of the internal section
Previous Message Przemysław Sztoch 2022-06-21 13:36:49 Re: [PATCH] Completed unaccent dictionary with many missing characters