umpirsky / country-list

:globe_with_meridians: List of all countries with names and ISO 3166-1 codes in all languages and data formats.
MIT License
5.18k stars 1.55k forks source link

Kosovo - country code XK is missing #113

Closed olivernybroe closed 3 years ago

olivernybroe commented 3 years ago

We recently ran into this issue that the country code XK is missing.

First I thought it was something wrong, an XK wasn't a country code, however it seems like Kosovo uses that one.

kslimani commented 3 years ago

I think (but i may be wrong !) XK is a temporary assigned code, so it it not yet assigned in ISO-3166 Alpha-2. (and why it is not yet included when rebuilding assets). Use of XK for Kosovo is "user assigned" (and therefore not official ?)

The European Commission and many other organisations (Deutsche Bundesbank, Switzerland) 
are using ‘XK‘ as a temporary country code for Kosovo till ISO officially assigns a code.

Source : https://geonames.wordpress.com/2010/03/08/xk-country-code-for-kosovo/

Also i could not find Kosovo code at https://www.iso.org/obp/ui/#search iso online database.

And it seems that building script is using PHP Intl extension to generate the country list.

olivernybroe commented 3 years ago

Ah alright. Yeah found some of the same information.

But I guess if XK should be there, then it's an issue in PHP Intl instead 👍

Thanks!