emo
emo copied to clipboard
Two new functions perhaps?
Might I suggest:
emojiToHTML <- function(x) paste(paste0("&#", utf8ToInt(x), ";"), collapse = "")
ji_replace_all_withHTML <- function(string) emo::ji_replace_all(string, emojiToHTML)
Would this work for all emojis, even those encoded as multiple runes ?
I like the idea, but this needs better names