I want to show the \"♫\" character in an Android TextView, but it shows [] instead.
This is my code:
txtCatname.setText(\"♫\");
Try this:
String str = "♫"; byte spbyte[] = str.getBytes("UTF-8"); str = new String( spbyte,"UTF-8"); txtCatname.setText(str);
If it doesn't work, try this:
String str = "♫"; txtCatname.setText(Html.fromHtml(str));