iso - Which standard/format does Locale class in Java return? -


if have following code snippet , set format in regional settings 2 letters before underscore , 3 letters before underscore. in iso 639-1 have 2 letters can't one?

system.out.println(locale.getdefault()); 

according java 7 docs:

  1. language - iso 639 alpha-2 or alpha-3 language code, or registered language subtags 8 alpha letters
  2. script - iso 15924 alpha-4 script code
  3. country (region) iso 3166 alpha-2 country code or un m.49 numeric-3 area code.

Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -