Unicode Variation Selector and Combining character

From: 荒井元成 <n2029(at)ndensan(dot)co(dot)jp>
To: <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Unicode Variation Selector and Combining character
Date: 2022-05-30 00:27:08
Message-ID: 013f01d873bb$ff5f64b0$fe1e2e10$@ndensan.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I tried it on PostgreSQL 13. If you use the Unicode Variation Selector and Combining Character

, the base character and the Variation selector will be 2 in length. Since it will be one character on the display, we expect it to be one in length. Please provide a function corresponding to the unicode variasion selector. I hope It is supposed to be provided as an extension.

The functions that need to be supported are as follows:

char_length|character_length|substring|trim|btrim|left

|length|lpad|ltrim|regexp_match|regexp_matches

|regexp_replace|regexp_split_to_array|regexp_split_to_table

|replace|reverse|right|rpad|rtrim|split_part|strpos|substr|starts_with

Best regartds,

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2022-05-30 02:34:10 Re: docs: mention "pg_read_all_stats" in "track_activities" description
Previous Message Andres Freund 2022-05-29 20:57:07 Re: SLRUs in the main buffer pool, redux