How are we doing? Please help us improve Stack Overflow. Take our short survey

Questions tagged [emoticons]

Anything related to emoticons or "smileys", i.e. short sequences of ASCII characters (2 or 3 usually) that can be seen as little, stylized faces showing some kind of emotion. Emoticons date back to the origin of the Internet and have been and are used to convey "emotional information" in written messages.

Filter by
Sorted by
Tagged with
1 vote
2 answers
124 views

Emoji count and analysis using python pandas

I am working on a sentiment analysis topic and there are a lot of comments with emojis. I would like to know if my code is correct or is there a way to optimize it as well? Code to do smiley count ...
sdave's user avatar
  • 531
0 votes
0 answers
41 views

Azerothcore uses data from npc_text datasheet to get NPC to use 3 emoticons in a row

In CMANGOS npc_text each row in a data table has three values related to an expression. I moved to the Azeroth Core Data Table. But in the game, Fairbanks always has only one expression. I also ...
daobashun's user avatar
0 votes
1 answer
95 views

Can I use emoticons as class names in CSS? 🙂 [duplicate]

When coding unicode CSS, is it allowed to use emoticons as class names? Should be possible I think, unicode is unicode. Or are there any restrictions?
user1383029's user avatar
  • 1,705
4 votes
1 answer
585 views

How to select only rows containing emojis and emoticons in Python?

I have DataFrame in Python Pandas like below: sentence ------------ 😎🤘🏾 I like it +1😍😘 One :-) :) hah I need to select only rows containing emoticons or emojis, so as a result I need something ...
dingaro's user avatar
  • 2,156
0 votes
5 answers
8k views

Replacing some emoticons with emojis in python

This is what my code currently looks like. I wanted to change the emoticons to emojis when the user inputs a sentence or word. How do I go by it? def main(): sentence = input("Input a ...
Dawit Ashenafi's user avatar
0 votes
1 answer
905 views

unbalanced parenthesis regex

!pip install emot from emot.emo_unicode import EMOTICONS_EMO def convert_emoticons(text): for emot in EMOTICONS_EMO: text = re.sub(u'\('+emot+'\)', "_".join(EMOTICONS_EMO[emot]....
M J's user avatar
  • 379
1 vote
0 answers
40 views

How to keep in dataframe only emoticons and their encoding?

I have some tweets like the following: df = structure(list(Date = structure(c(18946, 18946, 18946, 18946, 18946, 18946, 18946, 18946, 18946, 18946), class = "Date"), Texts = c("Two $...
Rollo99's user avatar
  • 1,601
1 vote
2 answers
998 views

Python pywhatkit emoticon

I'm using pywhatkit library for sending message to whatsapp, and it works fine, but I need to send emoticon and the text splitted in more line. Is possible to send new line and emoticon? I've tried ...
Giulio's user avatar
  • 221
1 vote
2 answers
60 views

Reuse ReactJS component

I have built a ReactJS component for rendering emoction. Separate component can be built for each emoction, but I want to use one component but pass separate emoction as required. This is what works ...
everestial007's user avatar
0 votes
1 answer
859 views

Emoji-mart navigation items can't clicked the first time

The first time the picker component loaded the navigation items couldn't be clicked until I clicked one of the emoticons. @observer export class EmojiPicker extends React.Component<Props> { @...
shabspb's user avatar
  • 23
1 vote
3 answers
2k views

Emoji display black and white (windows7 chrome, edge)

I add emoji to my website using Emoji Unicode https://www.w3schools.com/charsets/ref_emoji.asp On android, mac & iphone users have color emoticons while on windows7 (chrome and edge) there are ...
Count Dylula's user avatar
0 votes
0 answers
193 views

PHP not encoding quoted_printable_encode correctly

I'm trying to add an emoticon(fire) in email subject. Below is the code I'm using: $subject = "Test email \xF0\x9F\x94\xA5"; $charset = "UTF-8"; $subject = sprintf('=?%s?Q?%s?=', $...
Jenz's user avatar
  • 8,300
2 votes
1 answer
756 views

Use BetterTTV or FrankerFaceZ on Website other than Twitch

Is there any way to use eg BetterTTV or FranzerFaceZ (FFZ) on a website other than twitch.tv to replace emotes? I want to show onstream alerts on twitch (implemented via browser source). The messages ...
Alexander Taubenkorb's user avatar
0 votes
1 answer
333 views

Onesignal Rest API - Laravel

I'm using Berkayk\OneSignal to send notifications in my Laravel 7. It works fine with plain text in message, but i have to send also any emoticon/emoji to my user. Is it possible? Thanks
enfix's user avatar
  • 6,690
0 votes
2 answers
432 views

How to replace emoticon to empty string in scala dataframe?

Hello stackoverflowers, Would you please help to take a look on how to replace the emoticon in scala dataframe? import spark.implicits._ val df = Seq( (8, "bat★😂 😆 ⛱ ✨🚣‍♂️⛷🏂❤️"), (64,...
Tom Tang's user avatar
  • 169
1 vote
2 answers
644 views

Why do some emoticons cause Python/Idle to crash on Ubuntu?

I have run into a problem printing strings containing emoticons using Python code running via Idle under Ubuntu 20.04LTS. The code works fine under Windows 10, but when I try to run it under Ubuntu, ...
IanSt1's user avatar
  • 21
-1 votes
1 answer
114 views

python3 extract :) symbol from string

I found all kinds of tools for pasring emoji and emoticons, but none of them are working for extracting a simple ":)" out of a string: from emot.emo_unicode import UNICODE_EMO, EMOTICONS &...
SummerEla's user avatar
  • 1,912
1 vote
2 answers
780 views

How to persist text containing html emoji in mysql through hibernate

I am adding the emojis using their html codes (example: & # 1 2 8 0 7 0 ; ) using a javascript function in a contenteditable html element which displays the emoji (example: 👆) I then retrieve the ...
bkn's user avatar
  • 21
3 votes
1 answer
660 views

Add icons to the parent rows of a DT table

The problem: Including an emoticon to a parent/child table mutes the child table. How to overcome this difficulty? The added issue is that the inclusion of virtually any special character leads to the ...
Ulysse Colonna's user avatar
0 votes
0 answers
60 views

Is there a way to make the emoticon expressed in the EditTextView appear the same in the TextView?

If you look at the picture, it is EditTextVIew at the top and TextView at the bottom. As you can see, the emoji are dark in the EditTextView, but slightly blurry in the TextView. In TextVIew, I want ...
hanjiman's user avatar
  • 465
0 votes
2 answers
260 views

Is there a way to use json format emoticon on android?

I want to receive emoticon from emoji-datasource site as json file and show it in android. How do you do it? The file in json format is: [ { "name": "HASH KEY", ...
hanjiman's user avatar
  • 465
1 vote
0 answers
75 views

Do I need to manually map every emoji UTF number to their respective keyword or is there some sort of standardized JSON for this?

Okay so I'm making a chat application and I was able to figure out how to create my own custom emoticons by creating a JSON file like this: [ { keyword: "LOL", url: "urlOfImage1" ...
Onyx's user avatar
  • 5,204
2 votes
1 answer
202 views

replace_emoticon function incorrectly replaces characters within a word - R

I am working in R and using the replace_emoticon function from the textclean package to replace emoticons with their corresponding words: library(textclean) test_text <- "i had a great experience ...
lole_emily's user avatar
1 vote
0 answers
65 views

reGex Inverse selection for emoticon

(\u00a9|\u00ae|[\u2000-\u3300]|\ud83c[\ud000-\udfff]|\ud83d[\ud000-\udfff]|\ud83e[\ud000-\udfff]) I have this regex to select the emoticons on an input. Tried doing inverse selection on the above ...
Michael Rosales's user avatar
0 votes
0 answers
29 views

Intercept all emojs inside a string [duplicate]

I have to intercept all emojs inside a string input "bla bla 😀 bla 😀" desired output "bla bla <b>😀</b> bla <b>😀</b>" my code is string input = "bla bla 😀 bla 😀...
Fede's user avatar
  • 9
0 votes
1 answer
1k views

How to remove a boundary from a emoticon in Angular. Tried it with ngx-emoji

I want to show emoticons in my Angular app, but without a boundary or border just only the emoticon. Normal HTML code in an Angular template like this doesn't show an emoticon: <p style="font-...
Ben's user avatar
  • 604
6 votes
2 answers
9k views

How to convert emojis/emoticons to their meanings in python?

I am trying to clean up tweets to analyze their sentiments. I want to turn emojis to what they mean. For instance, I want my code to convert 'I ❤ New York' 'Python is 👍' to 'I love New York' '...
Pie-ton's user avatar
  • 552
-2 votes
1 answer
135 views

Emoji name "family_mothers_one_boy" or "woman-woman-boy"?

I have a reference emojis file used by my php code. Inside there is for example "woman-woman-boy", but the browser (chrome) replaces this name by "family_mothers_one_boy"... Why are there two ...
NicoESIEA's user avatar
  • 499
0 votes
2 answers
2k views

How to appear an emoji in TinyMCE version 5.06?

I am trying to insert an emoji by using TinyMCE 5.06 version, but there is an error about this inserting. An emoji does not appear when I use Html.Raw() in Asp.Net MVC. It looks like this " ????". How ...
Ismail Dogan's user avatar
1 vote
1 answer
303 views

Problems with cleaning tweet (emoticons, smileys ...)

I'm facing a problem during cleaning tweets. I have a process which save tweets in a csv and then I do a pandas dataframe of the data. x is a tweet from my dataframe : 'b\'RT @LBC: James O\\\'Brien ...
Tiboo's user avatar
  • 27
2 votes
1 answer
2k views

How to print unicode emoticons in javascript / jquery

I'm creating a chat room using Javascript/jQuery, PHP and Websockets. I want to support Unicode emoticons. I have a DIV with emoticons and, when user click in one of them, the emoticon is inserted in ...
Arvy's user avatar
  • 1,092
2 votes
0 answers
256 views

Firebase notification not showing emoticons in notification when app is in background or closed

when the message has unicode of emoticons like \u{1f600}, the notification will display emoticons, but when the application is in the background, notifications only shows unicode , not emoticons, I ...
Pangeran Zuckerberg's user avatar
1 vote
1 answer
549 views

keeping smileys/emoticons while removing special characters using regex python

I am using the following code for cleaning my text def clean_str(s): """Clean sentence""" s = re.sub(r"[^A-Za-z0-9(),!?\'\`]", " ", s) s = re.sub(r"\'s", " \'s", s) s = re.sub(r"\'ve", " \'ve",...
Manoj Agrawal's user avatar
3 votes
1 answer
2k views

Translate unicode emojis to ascii emojis in Python

Is there a way to translate unicode emojis to an appropriate ascii emoticon in Python? I know the emoji library which can be used to convert unicode emojis to something like :crying_face:. But what I ...
Simon Hessner's user avatar
3 votes
1 answer
2k views

Compare emoticons and put spaces around them in python

I have a dataset and ,when I am encountering an emoticons without any space , I want to place space around them but I don't know few things I have this list sentences=["HiRob😂","swiggy","😡😡"]. ...
Beginner's user avatar
  • 721
1 vote
0 answers
276 views

Twitter emoticons in unicode in r on windows

I am doing a sentiment analysis on twitter data and am struggling with the Unicode encoding for emoticons in the tweets. The problem is I can't identify the emoticons. When I print text with emoticons ...
dr. Zins's user avatar
1 vote
0 answers
62 views

string replace function not working for emoticon with skin tone

I have string with emoticons like str = 🤞🤞👌👍🤞🏿. I have applied below string replacement function on above string self.rx_unified = new RegExp('(' + a.join('|') + ')(\uD83C[\uDFFB-\uDFFF])?', "...
Vaidehi Hirani's user avatar
2 votes
1 answer
1k views

Extract Unicode-Emoticons in list, Python 3.x

I work on some twitter-data and I want to filter the emoticons in a list. The data itself is encoded in utf8. I read the file in line by line like these three example lines: ['This', 'is', 'a', '...
Anastasia's user avatar
0 votes
0 answers
168 views

How to display this colon format of emoticons in Ionic 3

I can not display this format (:fearful::stuck out tongue::persevere::sweat:) of emoticon using Ionic 3. When I use this format, it can not turn them into an emoticon, it always remains in plain text,...
H. Nzau's user avatar
  • 13
1 vote
0 answers
33 views

Android Emoticons to HTML format

We are working on 1 Application where we have to create functionality from where user can enter emoticons from android keyboard using App and we has to send this emoticons through Email in HTML format,...
sohel shaikh's user avatar
-2 votes
4 answers
414 views

How to search for a string like \x60\xe2\x4b(indicating a emoticon) using regular expression in python

import re string="b'@DerkGently @seanferg85 @Umbertobaggio @EL4JC and he already had Popular support.. most people know this already. A\xe2\x80\xa6 '" print(re.findall(r"\x[0-9a-z]{2}",string)) The ...
Biswadeep Roy's user avatar
0 votes
2 answers
1k views

How to add values against each jquery emoticons

I have a feedback form and for that i am using JQuery Feedback Library . Each smiley contains some value For example 'angry', 'disappointed', 'meh', 'happy', 'laughing' there is some value for each ...
Faizan's user avatar
  • 542
1 vote
4 answers
2k views

How to convert smileys to emoticon?

Is there a way to convert ":)" to 😊 like : detection and conversion, I have a UITextView in a chat application which should convert the smiley to the respective emoticon.
Abhishek Master's user avatar
1 vote
1 answer
176 views

How to identify UTF-8 encoded text from a string and convert it to smiley\emoticon in Swift

I am doing App which support Smiley/emoticons feature. From the backend I am getting response like this str = "Hferuhggeðððððfjjnjrnjgnejfnsgjen". This string response has a UTF-8 encoded text in it, ...
Satheeshkumar Naidu's user avatar
0 votes
0 answers
36 views

Convert 1 form of emoticon in other form

I am extracting a tweet from twitter which has an emoticon in it using python and storing it in csv file. The emoticon is represented in "\ud83d\ude01" form. I want to convert it into Unicode format (...
HARSH GUPTA's user avatar
0 votes
1 answer
737 views

Tinymce emoticons plugin doesn't adds image to the text

I'm using //cdn.tinymce.com/4/tinymce.js And recently I've added emoticons plugin. I can see emojis in the toolbar, but with a click on emoji it doesn't adds to the text area. Thanks for any ...
Albert Li's user avatar
0 votes
1 answer
1k views

Regex to match text with only emoticons and no other text

I have this regex for detecting if a string contains any emoticons: /(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff]|[\u0023-\u0039]\ufe0f?\u20e3|\u3299|\u3297|\u303d|\...
lilbiscuit's user avatar
  • 2,139
3 votes
1 answer
3k views

R - Emoji unicode to character

I'm coding in R. Let's say that I have the unicode value of an emoji as wink_emoji <- "\U0001f609" Or, alternatively, as wink_emoji <- "U+1f609" Is there a function that I can use to print ...
Christopher Costello's user avatar
5 votes
2 answers
4k views

Plot emojis/emoticons in R with ggplot

I'm trying to make a plot with emojis in ggplot2. What I want is to show emojis instead of labels or show like geom. This question in Stack is very similar to my problem, but it does not solve it ...
Tito Sanz's user avatar
  • 1,292
2 votes
2 answers
2k views

Determining the polarity of emoticons for twitter sentiment analysis

I am trying doing a sentiment analysis on twitter data and want to take the emoticons into account. Say I have the unicode of an emoticon 😀 (in this case U+1F600). I would like to get some kind of ...
imc's user avatar
  • 952

1
2 3 4 5
7