Revert "Rename unicode_combining_table to unicode_width_table"
John Naylor <john.naylor@postgresql.org>
Revert "Rename unicode_combining_table to unicode_width_table" This reverts commit eb0d0d2c7300c9c5c22b35975c11265aa4becc84. After I had committed eb0d0d2c7 and 78ab944cd, I decided to add a sanity check for a "can't happen" scenario just to be cautious. It turned out that it already happened in the official Unicode source data, namely that a character can be both wide and a combining character. This fact renders the aforementioned commits unnecessary, so revert both of them. Discussion: https://www.postgresql.org/message-id/CAFBsxsH5ejH4-1xaTLpSK8vWoK1m6fA1JBtTM6jmBsLfmDki1g%40mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/common/unicode/generate-unicode_combining_table.pl (from src/common/unicode/generate-unicode_width_table.pl) | renamed | +1 −1 |
| src/common/unicode/Makefile | modified | +2 −2 |
| src/common/wchar.c | modified | +1 −1 |
| src/include/common/unicode_combining_table.h (from src/include/common/unicode_width_table.h) | renamed | +1 −1 |
Discussion
- badly calculated width of emoji in psql 37 messages · 2021-04-02 → 2021-08-26