How to convert UTF16 (emoji) to HTML Entity (hex) using java -


how convert utf16 (emoji) html entity (hex) using java   have string db "\ud83d\ude02".  try display unicode emoji, displays ��.  search in google convert utf16 html hex code. didnt solution. please me 

i show unicode emoji smily icon

you can use emoji4j library this.

for example:

string line = "hi , fine \ud83d\ude02 \ud83d\ude02, how r u ?";  emojiutils.hexhtmlify(line); //hi , fine 😂 😂, how r u ? 

Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -