str = videoname.get(i);
String toServer = str;
String toServerUnicodeEncoded = StringEscapeUtils.escapeJava(toServer);
viewHolder.textss.setText(toServerUnicodeEncoded);
Log.e("emos",toServerUnicodeEncoded);
I am retrieving a string from URL using volley and the string contains emojis in it which I want to display in Android TextView. So for that, I have taken the string then passed it in StringEscapeUtils.escapeJava(toServer)
and after that I am getting the emoji in "\u00F0\u009F\u0098\u0098"
form, Instead of "\uD83D\uDE18
" form . So how to display emoji in textview?