-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
None
-
8
-
x86_64
-
linux_ubuntu
A DESCRIPTION OF THE PROBLEM :
The currency symbol returned for the hi_IN locale for the INR currency returns the symbol for the Nepalese Rupee (रू, unicode: U+0930U+0942, currency code: NPR) instead of the currency symbol for the Indian Rupee (₹, unicode: U+20B9, currency code: INR)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create a Currency object for the INR currency
Create a locale with Hindi as the language and India as the country
Attempt to get the symbol for the INR currency using the Hindi India locale
---------- BEGIN SOURCE ----------
Currency indianRupeeCurrency = Currency.getInstance("INR");
Locale hindiIndiaLocale = new Locale("hi", "IN");
String indianRupeeSymbol = indianRupeeCurrency.getSymbol(hindiIndiaLocale);
assertEquals("₹", indianRupeeSymbol);
---------- END SOURCE ----------
The currency symbol returned for the hi_IN locale for the INR currency returns the symbol for the Nepalese Rupee (रू, unicode: U+0930U+0942, currency code: NPR) instead of the currency symbol for the Indian Rupee (₹, unicode: U+20B9, currency code: INR)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create a Currency object for the INR currency
Create a locale with Hindi as the language and India as the country
Attempt to get the symbol for the INR currency using the Hindi India locale
---------- BEGIN SOURCE ----------
Currency indianRupeeCurrency = Currency.getInstance("INR");
Locale hindiIndiaLocale = new Locale("hi", "IN");
String indianRupeeSymbol = indianRupeeCurrency.getSymbol(hindiIndiaLocale);
assertEquals("₹", indianRupeeSymbol);
---------- END SOURCE ----------