pgsql: Treat Unicode codepoints of category "Format" as non-spacing - Mailing list pgsql-committers

From John Naylor
Subject pgsql: Treat Unicode codepoints of category "Format" as non-spacing
Date
Msg-id E1oY27N-0008aG-AS@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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%40mail.gmail.com

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(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: Re: pgsql: aix: No need to use mkldexport when we want to export all symbol
Next
From: John Naylor
Date:
Subject: Re: pgsql: Fix perltidy breaking perlcritic