I have a string resource in xml
<string name="contoh"></string>
and then I call from java
String res = getString(R.string.contoh);
String langsung = "";
after I display the output is different, like this image
please help, how to convert that string from java to become like string from xml, because I want to display icon from API using that code Thank you
SOLVED in this, in accepted answer,
Unicode characters not displayed in TextView.setText
yourTextView.setText(Html.fromHtml(""));