Re: badly calculated width of emoji in psql
John Naylor <john.naylor@enterprisedb.com>
From: John Naylor <john.naylor@enterprisedb.com>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Jacob Champion <pchampion@vmware.com>, "laurenz.albe@cybertec.at" <laurenz.albe@cybertec.at>,
"michael@paquier.xyz" <michael@paquier.xyz>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>, "horikyota.ntt@gmail.com" <horikyota.ntt@gmail.com>
Date: 2021-08-12T16:36:08Z
Lists: pgsql-hackers
I tried this patch on and MacOS11/iterm2 and RHEL 7 (ssh'd from the Mac, in case that matters) and the example shown at the top of the thread shows no difference: john.naylor=# \pset border 2 Border style is 2. john.naylor=# SELECT U&'\+01F603'; +----------+ | ?column? | +----------+ | ๐ | +----------+ (1 row) (In case it doesn't render locally, the right bar in the result cell is still shifted to the right. What is the expected context to show a behavior change? Does one need some specific terminal or setting? -- John Naylor EDB: http://www.enterprisedb.com
Commits
-
Extend collection of Unicode combining characters to beyond the BMP
- 5bc429aacb37 15.0 landed
-
Update display widths as part of updating Unicode
- bab982161e05 15.0 landed
-
Revert "Rename unicode_combining_table to unicode_width_table"
- 1563ecbc1be8 15.0 landed
-
Change mbbisearch to return the character range
- 78ab944cd4b9 15.0 landed