pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jacob Champion <pchampion@vmware.com>
To: laurenz.albe@cybertec.at <laurenz.albe@cybertec.at>
To: michael@paquier.xyz <michael@paquier.xyz>
Cc: pavel.stehule@gmail.com <pavel.stehule@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Cc: horikyota.ntt@gmail.com <horikyota.ntt@gmail.com>
Subject: Re: badly calculated width of emoji in psql
Date: Wed, 21 Jul 2021 16:05:11 +0000
Message-ID: <7f99890b3e5aecdf903ea2e0f4d445d9fcaf0999.camel@vmware.com> (raw)
In-Reply-To: <c2a556a0158b642d6c597508d2a47059091e4d56.camel@vmware.com>
References: <CAFj8pRCeX21O69YHxmykYySYyprZAqrKWWg0KoGKdjgqcGyygg@mail.gmail.com>
	<1f89b5e9624e08f1f06d7272bc880961860ff378.camel@cybertec.at>
	<CAFj8pRDuNNPJ-Xzd8ZC3dF4pbOsAZAH-zbA0Y65uivTZ2zT1ZQ@mail.gmail.com>
	<20210405.140718.90372987296815422.horikyota.ntt@gmail.com>
	<9e3c847108bac6041f50e86d08d8835f5cf7cd78.camel@vmware.com>
	<YPUtzT0J8cZByTkD@paquier.xyz>
	<f6a06ecdf378b50ed871e363aa9ac7e706101ab6.camel@cybertec.at>
	<c2a556a0158b642d6c597508d2a47059091e4d56.camel@vmware.com>

On Wed, 2021-07-21 at 00:08 +0000, Jacob Champion wrote:
> On Mon, 2021-07-19 at 13:13 +0200, Laurenz Albe wrote:
> > That could be adapted; the question is if the approach as such is
> > desirable or not.  This is necessarily a moving target, at the rate
> > that emojis are created and added to Unicode.
> 
> Sure. We already have code in the tree that deals with that moving
> target, though, by parsing apart pieces of the Unicode database. So the
> added maintenance cost should be pretty low.

(I am working on such a patch today and will report back.)

--Jacob


view thread (37+ messages)  latest in thread

Message-ID: <7f99890b3e5aecdf903ea2e0f4d445d9fcaf0999.camel@vmware.com>
Permalink:  ../7f99890b3e5aecdf903ea2e0f4d445d9fcaf0999.camel@vmware.com/
Also on:    postgresql.org/message-id/7f99890b3e5aecdf903ea2e0f4d445d9fcaf0999.camel@vmware.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: pchampion@vmware.com, laurenz.albe@cybertec.at, michael@paquier.xyz, pavel.stehule@gmail.com, horikyota.ntt@gmail.com
  Subject: Re: badly calculated width of emoji in psql
  In-Reply-To: <7f99890b3e5aecdf903ea2e0f4d445d9fcaf0999.camel@vmware.com>
  References: <CAFj8pRCeX21O69YHxmykYySYyprZAqrKWWg0KoGKdjgqcGyygg@mail.gmail.com> <1f89b5e9624e08f1f06d7272bc880961860ff378.camel@cybertec.at> <CAFj8pRDuNNPJ-Xzd8ZC3dF4pbOsAZAH-zbA0Y65uivTZ2zT1ZQ@mail.gmail.com> <20210405.140718.90372987296815422.horikyota.ntt@gmail.com> <9e3c847108bac6041f50e86d08d8835f5cf7cd78.camel@vmware.com> <YPUtzT0J8cZByTkD@paquier.xyz> <f6a06ecdf378b50ed871e363aa9ac7e706101ab6.camel@cybertec.at> <c2a556a0158b642d6c597508d2a47059091e4d56.camel@vmware.com> <7f99890b3e5aecdf903ea2e0f4d445d9fcaf0999.camel@vmware.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox