On Mar 3, 9:34 am, arjanDOTTYbroerATgmailDOTTYcom <arjan.br...@gmail.com> wrote: > Then when i use the DecimalFormat.getCurrencyInstance(new Local("nl- > NL")) or DecimalFormat.getCurrencyInstance(Local.GERMAN) it should use > the euro sign. The formatted has a strange block character though.
"German" is a language, not a country, so it doesn't have a currency. If you use Locale.GERMANY then it works. Also, in the Locale constructor you have to specify the language and country separately, so new Locale("nl", "NL") will also work. I noticed that when I set the locale to "German" on the Android emulator and on my UK G1, the Locale.getDefault() Locale did not have a country, and so no currency was available. It seems to me that there should be "German (Germany)", "German (Austria)" etc. Is this an oversight, or a deliberate design choice? -- Jon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---