How to display rupee symbol in my java class? -
if(this.currency.equalsignorecase("₹")) { r="₹ "+r; }
i want compare ₹
(indian rupee symbol) in java. here trying print currency rupee symbol, instead displaying symbol â?¹
.
how overcome problem?
you can try with:
if(this.currency.equals("\u20b9")) { r="₹ "+r; }
"\u20b9"
java encoding rupee symbol.
more info:
Comments
Post a Comment