[Top][All Lists]

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

Re: Emoji Support ?

From: Thomas Dickey
Subject: Re: Emoji Support ?
Date: Sun, 16 Jul 2017 17:59:15 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Sun, Jul 16, 2017 at 11:07:30AM -0400, Patrick wrote:
> Hi Everyone
> I searched the archives for "emoji" and didn't come up with anything...

> #include <ncursesw/ncurses.h>
> #include <locale.h>
> int main(){
> setlocale(LC_CTYPE,"");

If it displays properly on your terminal, the next stumbling block
is whether the locale tables have been updated.

> Emoji are composed of more bytes than normal written languages. Is
> there an upper limit to support with ncurses?

not really: ncursesw stores wchar_t, which (aside from mingw32) is
normally a 32-bit value (bigger than the 24-bits needed for Unicode).

For what it's worth, the characters work with my Debian/testing.
See attached screenshot.

Thomas E. Dickey <address@hidden>

Attachment: untitled.png
Description: PNG image

Attachment: signature.asc
Description: Digital signature

reply via email to

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