From: John Naylor <john.naylor@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Treat Unicode codepoints of category "Format" as non-spacing
Date: Tue, 13 Sep 2022 09:22:09 +0000
Message-ID: <E1oY27N-0008aG-AS@gemulon.postgresql.org> (raw)
Treat Unicode codepoints of category "Format" as non-spacing
Commit d8594d123 updated the list of non-spacing codepoints used
for calculating display width, but in doing so inadvertently removed
some, since the script used for that commit only considered combining
characters.
For complete coverage for zero-width characters, include codepoints in
the category Cf (Format). To reflect the wider purpose, also rename files
and update comments that referred specifically to combining characters.
Some of these ranges have been missing since v12, but due to lack of
field complaints it was determined not important enough to justify adding
special-case logic the backbranches.
Kyotaro Horiguchi
Report by Pavel Stehule
Discussion: https://www.postgresql.org/message-id/flat/CAFj8pRBE8yvpQ0FSkPCoe0Ny1jAAsAQ6j3qMgVwWvkqAoaaNmQ%40mai...
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/0bd9c629732375e21d3ca6fba16c4a6a2808411a
Modified Files
--------------
src/common/unicode/Makefile | 4 +--
...ble.pl => generate-unicode_nonspacing_table.pl} | 12 ++++----
src/common/wchar.c | 8 +++---
...ombining_table.h => unicode_nonspacing_table.h} | 33 ++++++++++++++--------
4 files changed, 34 insertions(+), 23 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: john.naylor@postgresql.org
Subject: Re: pgsql: Treat Unicode codepoints of category "Format" as non-spacing
In-Reply-To: <E1oY27N-0008aG-AS@gemulon.postgresql.org>
References: <E1oY27N-0008aG-AS@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox