Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to retrieve the System Locale on WinXP or Win2003  RSS feed

jyothsna loka
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Iam using English locale for standards and formats on Reginal options tab tab and system locale as polish on "Language for non-unicode programs on Advanced tab of Win 2003 machine.

I have to retrieve a value using JVM , according to the system locale which is on advanced tab of win2003 or win XP.

For that Iam using java function "getNumberInstance" which will retrieve the default locale.But this uses the user locale on Regional options tab,
But I want to usse the System locale whcih is on Advanced tab.

NumberFormat numFmt =NumberFormat.getNumberInstance();

How to retrieve the locale selected on advanced tab (language for non unicode programs)

It will be a great help . Pls suggest your solutions.

Thanks in Advance,
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!