Locale.getISOCountries() is returning different list in android devices (tested on samsung galaxy S10) JAVA

282 views Asked by At

I'm currently using Locale.getISOCountries() to get ISO-compliant country code list. In android device when I print the output it was returning a different list, for example, it has some extra country codes "ZWG"(Zawgyi), "SIL" (Silesian) but when I run the same code on Ideone platform these country codes were not present am I doing anything wrong? or is there any way to get standard ISO country code list?

here is the link to the code snippet. getISO3CountryCodes()

https://ideone.com/rEUclG

0

There are 0 answers