iso2country - Hash to convert ISO 3166-1 2-char country code to country name
require 'iso2country.pl';
$country_name = $iso2country{"jp"}; # $country_name is "Japan"
$country_name = $iso2country{"uk"}; # $country_name is "United Kingdom" # Exceptional Case. Country Code for UK is "gb" in ISO 3166-1.
For detail about ISO 3166 Newsletter, see http://www.iso.org/iso/en/prods-services/iso3166ma/03updates-on-iso-3166/index.html
According to ISO 3166-1 Newsletter V-6, ``East Timor'' changed thier country name to ``Timor-Leste''. This script returns ``Timor-Leste (former East Timor)'' for ``tp'' and ``tl''.
Yuuichirou Oka <oka@a-f.jp>
Latest version is distributed at http://a-f.jp/oka/domains/iso2country/
Copyright (c) 2003-2004 Yuuichirou Oka. All rights reserved.
This script is freeware. You can use, modify and/or redistribute this script under the terms of GNU General Public License(GPL). For detail about GNU GPL, see http://www.gnu.org/licenses/licenses.html .