Hacker News new | ask | show | jobs
by syncordie 3143 days ago
An input list of all current passport issuing countries would be useful. The Scotland problem doesn't arise as they don't issue passports (the UK does).
5 comments

Sealand issues passports, but they are not recognized by any other country.
Israel issues passports, but people holding an Israeli passport also hold some other country's passport if they want to travel to any other country in the MENA region. Also, recognizing Israel as a country will lead to the most interesting discussions in your software's support fora.
what about taiwan? what about taiwan if you're in china...?
I believe Palestine has a similar issue. They have passports, but few countries recognize them.
According to https://en.wikipedia.org/wiki/Taiwan_passport , the issuing country code is:

TWN, the ISO country code for Republic of China, listed as "Taiwan, Province of China" in ISO 3166-1

My thoughts exactly.

This means Google would be determining whether Taiwan is an independent country or not, making either China, or more probably Taiwan unhappy. Something besides the browser would need to determine what your list of countries is, like the site itself... but a solution like that is much less elegant. Chrome having regional behavior also just sounds like more mess for devs. Some sites will deliberately want to pick sides, and should be able to.

Geographic data will have to come from somewhere, to add countries to this list that "don't exist" in whatever the built-in list of country options is.

And then someone tries to use it for an app where you have to select which national football you play for.
Or anything involving legal system/jurisdiction or company registration (both of which are differ between countries within the UK).

The UK and the Netherlands are both (according to ISO 3166-2 [0]) countries which contain other countries.

[0] https://en.wikipedia.org/wiki/ISO_3166-2

In the case of The Netherlands, this is plain wrong.

The Kingdom of the Netherlands contains four countries, being The Netherlands, Aruba, CuraƧao, and Sint Maarten. According to ISO 3166-2, there exists a country "The Netherlands" which contains the other three. Close, but not correct.

Behind every standards dispute is a solution that is simple, elegant and wrong.