From the documentation for _country_get_predefined_list() in includes/iso.inc:

Get an array of all country code => country name pairs as laid out in ISO 3166-1 alpha-2.

In fact, there are many discrepancies between this list and ISO 3166-1 alpha-2.

Filed against D7, since this function doesn't exist in D8.

Comments

aaronbauman created an issue. See original summary.

aaronbauman’s picture

Title: standard.inc does not match ISO 3166-1 alpha-2 » iso.inc claims to match ISO 3166-1 alpha-2, does not
aaronbauman’s picture

Status: Active » Needs review
StatusFileSize
new550 bytes

Status: Needs review » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.