[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Entering emojis
From: |
Lars Ingebrigtsen |
Subject: |
Re: Entering emojis |
Date: |
Sat, 30 Oct 2021 14:20:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> (string-limit "Hello, π¨π½ββ€οΈβπβπ¨πΎ" 8)
>> => "Hello, π¨"
>>
>> and
>>
>> (truncate-string-to-width "π¨π½ββ€οΈβπβπ¨πΎ" 2 nil t)
>> => "π¨"
>
> Nothing, they should "just work", barring bugs.
Well... they don't "just work" now, as the example shows. But perhaps
you're not seeing the correct glyphs here? Here's a screenshot.
> What does string-width return for this string on your system?
2 for both strings.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Entering emojis, (continued)
- Re: Entering emojis, Stefan Kangas, 2021/10/29
- Re: Entering emojis, Daniel MartΓn, 2021/10/29
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/29
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/29
- Re: Entering emojis, Eli Zaretskii, 2021/10/30
- Re: Entering emojis, Eli Zaretskii, 2021/10/30
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/30
- Re: Entering emojis, Eli Zaretskii, 2021/10/30
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/30
- Re: Entering emojis, Eli Zaretskii, 2021/10/30
- Re: Entering emojis,
Lars Ingebrigtsen <=
- Re: Entering emojis, Eli Zaretskii, 2021/10/30
- Re: Entering emojis, Howard Melman, 2021/10/30
- Re: Entering emojis, T.V Raman, 2021/10/28
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/28
- Re: Entering emojis, Eli Zaretskii, 2021/10/28