Re: badly calculated width of emoji in psql - Mailing list pgsql-hackers

From John Naylor
Subject Re: badly calculated width of emoji in psql
Date
Msg-id CAFBsxsEW0oAD2gdWQ9OQ8dS52iz476kWK2pqV1xmGuVjaygZTA@mail.gmail.com
Whole thread Raw
In response to Re: badly calculated width of emoji in psql  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: badly calculated width of emoji in psql  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: badly calculated width of emoji in psql  (Jacob Champion <pchampion@vmware.com>)
List 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?

--

pgsql-hackers by date:

Previous
From: Yugo NAGATA
Date:
Subject: Re: Avoid stuck of pbgench due to skipped transactions
Next
From: Pavel Stehule
Date:
Subject: Re: badly calculated width of emoji in psql