Posted By:
Tofik_Akhmedov
Posted On:
Tuesday, August 14, 2001 10:12 AM
Getting default Locale settings, which is suppose to be en_US on our Solaris system ... Locale defaultLocale = Locale.getDefault(); ...I want to show the default currency sign $ ... NumberFormat nf = NumberFormat.getCurrencyInstance(defaultLocale); ..., but it prints pattern's currency sign symbol ¤ What should I do to get the $ sign right in the place, instead of ¤ ? (By the way, the same program works properly on NT environment). Some System properties: java.vm.info - build Solaris_JDK_1.2.2_06 java.specification.version - 1.2 user.language - en
More>>
Getting default Locale settings, which is suppose to be en_US on our Solaris system ...
Locale defaultLocale = Locale.getDefault();
...I want to show the default currency sign
$
...
NumberFormat nf = NumberFormat.getCurrencyInstance(defaultLocale);
..., but it prints pattern's currency sign symbol
¤
What should I do to get the $ sign right in the place, instead of ¤ ? (By the way, the same program works properly on NT environment).
Some System properties:
- java.vm.info - build Solaris_JDK_1.2.2_06
- java.specification.version - 1.2
- user.language - en
<<Less