Re: badly calculated width of emoji in psql

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: John Naylor <john(dot)naylor(at)enterprisedb(dot)com>
Cc: Jacob Champion <pchampion(at)vmware(dot)com>, "laurenz(dot)albe(at)cybertec(dot)at" <laurenz(dot)albe(at)cybertec(dot)at>, "michael(at)paquier(dot)xyz" <michael(at)paquier(dot)xyz>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, "horikyota(dot)ntt(at)gmail(dot)com" <horikyota(dot)ntt(at)gmail(dot)com>
Subject: Re: badly calculated width of emoji in psql
Date: 2021-08-12 16:46:11
Message-ID: CAFj8pRA0doypwaE6idvUMzS=9Ak85CF=4qwSzpST3ABQ+DuP-w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

čt 12. 8. 2021 v 18:36 odesílatel John Naylor <john(dot)naylor(at)enterprisedb(dot)com>
napsal:

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

did you run make clean?

when I executed just patch & make, it didn't work

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

I assigned screenshots

>
> --
> John Naylor
> EDB: http://www.enterprisedb.com
>

Attachment Content-Type Size
image/png 7.9 KB
image/png 21.7 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jacob Champion 2021-08-12 16:54:02 Re: badly calculated width of emoji in psql
Previous Message John Naylor 2021-08-12 16:36:08 Re: badly calculated width of emoji in psql