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

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -