In my android project's string.xml file contains an unicode character.
<string name="percent">%</string>
and MainActivity.java have this code :
StringBuilder myString = new StringBuilder();
myString.append(getResources().getString(R.string.percent));
if(myString.substring(1).equals(getResources().getString(R.string.percent))){
// do something
}
So my problem is that MainActivity.java code not comparing the unicode. How to solve this problem guys ?