Re: BUG #18362: unaccent rules and Old Greek text

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: cees(dot)van(dot)zeeland(at)freedom(dot)nl, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18362: unaccent rules and Old Greek text
Date: 2024-02-25 03:21:36
Message-ID: CA+hUKGLpoxTRryM1MxaHMpC1c5cxoKDm0iXfogQR9KGVUG=w9w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sun, Feb 25, 2024 at 11:14 AM PG Bug reporting form
<noreply(at)postgresql(dot)org> wrote:
> So, there are reasons to keep the current unaccent.rules as it is, but...
> there are other reasons to add a few lines to it, f.e. after line 955 and
> insert five greek vowels with Oxia
> Please add:
> ά α
> έ ε
> ή η
> ί ι
> ό ο
> ύ υ
> ώ ω

Hi,

We don't exactly maintain this list manually, we extract it from
Unicode source data. Can you see what needs to be adjusted in here to
achieve that goal?

https://github.com/postgres/postgres/blob/master/contrib/unaccent/generate_unaccent_rules.py

Perhaps a new range or something like that?

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Gena Makhomed 2024-02-25 08:50:15 systemd[1]: postgresql-16.service: Killing process 25992 (postgres) with signal SIGKILL.
Previous Message PG Bug reporting form 2024-02-24 21:33:05 BUG #18362: unaccent rules and Old Greek text