[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scratch/emoji vs emacs that maybe canʼt display emojis

From: Eli Zaretskii
Subject: Re: scratch/emoji vs emacs that maybe canʼt display emojis
Date: Sun, 07 Nov 2021 20:29:40 +0200

> From: Benjamin Riefenstahl <b.riefenstahl@turtle-trading.net>
> Date: Sun, 07 Nov 2021 17:34:53 +0100
> Another note: In my own work with this issue, using NCurses, I have
> noticed that NCurses mostly relies on the C library's wcwidth function.
> Which seems reasonable for NCurses.  I am not saying that Emacs should
> do the same, but I expect NCurses and terminal emulators to develop in a
> certain dependency, because it seem that NCurses is the most-used
> full-screen terminal library these days.

That already happens, to a degree.  Both wcwidth and char-width-table
in Emacs are supposed to be based on the same data whose source is the
Unicode Character Database (UCD).  Of course, whatever libc you are
using and Emacs are not necessarily in sync when a new version of
Unicode comes out.  But other than that, the data should be the same.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]