使用 ISO 3166-1-alpha-2 作为权威国家/地区列表?
这是我可以用于我的申请的权威国家/地区列表吗?
http://www.iso.org/iso/country_codes/iso_3166_code_lists/english_country_names_and_code_elements.htm
英文国家名称和代码 元素
此列表列出了国家/地区名称 (官方英文简称) ISO 中给出的字母顺序 3166-1和相应的ISO 3166-1-alpha-2 代码元素。
此列表会在更改时更新 ISO 中的官方代码列表 3166-1 受 ISO 3166/MA 影响。
它列出了 248 个官方简称 代码元素。
不完全与编程相关,但对于其他寻求在他们的程序中构建这样的列表的人会有所帮助!
Is this an authoritative list of countries I can use for my application?
http://www.iso.org/iso/country_codes/iso_3166_code_lists/english_country_names_and_code_elements.htm
English country names and code
elementsThis list states the country names
(official short names in English) in
alphabetical order as given in ISO
3166-1 and the corresponding ISO
3166-1-alpha-2 code elements.This list is updated whenever a change
to the official code list in ISO
3166-1 is effected by the ISO 3166/MA.It lists 248 official short names and
code elements.
Not exactly programming related, but would be helpful to others seeking to build such a list in their programs!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正如你所说,这不完全是一个100%的编程问题,所以我会小心地进行。正如您在联合国统计司网站上看到的那样,它们引用了 ISO 3166< /a> 作为权威,但请记住他们的目的是为了统计。此外,ISO是一个非政府组织,除了每个国家的国家成员机构、总部人员和若干委员会/联合机构外没有其他成员。要了解实际上什么是“授权”的,您可能最好看看什么是未识别。
我会将 UN.M49 列表视为权威,但如果您的申请对地缘政治问题非常认真,检查是否有不明显的情况,例如在联合国拥有观察员地位的罗马教廷。
As you said, it is not exactly a 100% programming question, so I will proceed carefully. As you may see from the United Nations Statistics Division web site, they are citing ISO 3166 as authoritative, but remember they purpose is towards statistics. Besides ISO is a NGO without other members than the national member bodies of each country, headquarters personnel and several committes/joints. To see what's "authorized" actually you may be better seeing what's considered not recognized.
I would take the UN.M49 list as authoritative, but if your application gets really serious about geopolitical stuff, check for not obvious cases, for example the Holy See which holds observer status in the United Nations.