bug-ncurses
[Top][All Lists]
Advanced

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

Emoji Support ?


From: Patrick
Subject: Emoji Support ?
Date: Sun, 16 Jul 2017 11:07:30 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.8.0

Hi Everyone

I searched the archives for "emoji" and didn't come up with anything...

If I use the ctrl-shift-u method of input. I can type this:

1F5A5

and I can get a little computer displayed.

If I use this:

echo 🖥

It echos fine to my terminal

This little test snippet compiled with:

gcc unicode.c -o unicode  -lncursesw

#include <ncursesw/ncurses.h>

#include <locale.h>

int main(){

setlocale(LC_CTYPE,"");
initscr() ;
addstr("å™–") ;
move(1,10) ;
addstr("🖳") ;
char a =  getch() ;
endwin() ;

return 0 ;

}

Does not display the emoji.

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

If not, is there a way to get this to work ? I want to write a program that will run at large font and will have many emoji pictures. When a disabled child clicks on them, the program will speak for them.

Thanks for reading-Patrick





reply via email to

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