Emoji in R [UTF-8 encoding]
问题 I'm trying to make an emoji analysis on R. I have stored some tweets where there are emojis. Here is one of the tweet that I want to analyze : > tweetn2 [1] "Programme du week-end: \xed\xa0\xbd\xed\xb2\x83\xed\xa0\xbc \xed\xbe\xb6\xed\xa0\xbc \xed\xbd\xbb\xed\xa0\xbc\xed\xbd\xbb\xed\xa0\xbc \xed\xbd\xbb\xed\xa0\xbc\xed\xbd\xbb" To be sure that I have "UTF-8": > Encoding(tweetn2) [1] "UTF-8 " Now when I'm trying to recognize some characters, it's not working fine > grepl("\\xed",tweetn2) [1]