emacs-devel
[Top][All Lists]
Advanced

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

Re: emojis and other multi-character glyphs


From: Eli Zaretskii
Subject: Re: emojis and other multi-character glyphs
Date: Sun, 26 Dec 2021 12:58:33 +0200

> From: Evgeny Zajcev <lg.zevlg@gmail.com>
> Date: Sun, 26 Dec 2021 13:56:12 +0300
> Cc: emacs-devel <emacs-devel@gnu.org>
> 
>  > In my case, I use a service that has
>  > limitation on number chars it can act on and emojis are counted as
>  > single char.
> 
>  But that is incorrect: most Emoji sequences occupy two columns on display.
> 
> No, no, not string-width, string length in number of glyphs, as Swift counts 
> them: "๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ".length == 1

Why and where is this important?



reply via email to

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