1 #
   2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   3 #  
   4 # This code is free software; you can redistribute it and/or modify it
   5 # under the terms of the GNU General Public License version 2 only, as
   6 # published by the Free Software Foundation.  Oracle designates this
   7 # particular file as subject to the "Classpath" exception as provided
   8 # by Oracle in the LICENSE file that accompanied this code.
   9 #  
  10 # This code is distributed in the hope that it will be useful, but WITHOUT
  11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13 # version 2 for more details (a copy is included in the LICENSE file that
  14 # accompanied this code).
  15 #  
  16 # You should have received a copy of the GNU General Public License version
  17 # 2 along with this work; if not, write to the Free Software Foundation,
  18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19 #  
  20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21 # or visit www.oracle.com if you need additional information or have any
  22 # questions.
  23 #
  24 # <pre>
  25 # This file is in the public domain, so clarified as of
  26 # 2009-05-17 by Arthur David Olson.
  27 # ISO 3166 alpha-2 country codes
  28 #
  29 # From Paul Eggert (2006-09-27):
  30 #
  31 # This file contains a table with the following columns:
  32 # 1.  ISO 3166-1 alpha-2 country code, current as of
  33 #     ISO 3166-1 Newsletter VI-1 (2007-09-21).  See:
  34 #     <a href="http://www.iso.org/iso/en/prods-services/iso3166ma/index.html">
  35 #     ISO 3166 Maintenance agency (ISO 3166/MA)
  36 #     </a>.
  37 # 2.  The usual English name for the country,
  38 #     chosen so that alphabetic sorting of subsets produces helpful lists.
  39 #     This is not the same as the English name in the ISO 3166 tables.
  40 #
  41 # Columns are separated by a single tab.
  42 # The table is sorted by country code.
  43 #
  44 # Lines beginning with `#' are comments.
  45 #
  46 # From Arthur David Olson (2011-08-17):
  47 # Resynchronized today with the ISO 3166 site (adding SS for South Sudan).
  48 #
  49 #country-
  50 #code   country name
  51 AD      Andorra
  52 AE      United Arab Emirates
  53 AF      Afghanistan
  54 AG      Antigua & Barbuda
  55 AI      Anguilla
  56 AL      Albania
  57 AM      Armenia
  58 AO      Angola
  59 AQ      Antarctica
  60 AR      Argentina
  61 AS      Samoa (American)
  62 AT      Austria
  63 AU      Australia
  64 AW      Aruba
  65 AX      Aaland Islands
  66 AZ      Azerbaijan
  67 BA      Bosnia & Herzegovina
  68 BB      Barbados
  69 BD      Bangladesh
  70 BE      Belgium
  71 BF      Burkina Faso
  72 BG      Bulgaria
  73 BH      Bahrain
  74 BI      Burundi
  75 BJ      Benin
  76 BL      St Barthelemy
  77 BM      Bermuda
  78 BN      Brunei
  79 BO      Bolivia
  80 BQ      Bonaire Sint Eustatius & Saba
  81 BR      Brazil
  82 BS      Bahamas
  83 BT      Bhutan
  84 BV      Bouvet Island
  85 BW      Botswana
  86 BY      Belarus
  87 BZ      Belize
  88 CA      Canada
  89 CC      Cocos (Keeling) Islands
  90 CD      Congo (Dem. Rep.)
  91 CF      Central African Rep.
  92 CG      Congo (Rep.)
  93 CH      Switzerland
  94 CI      Cote d'Ivoire
  95 CK      Cook Islands
  96 CL      Chile
  97 CM      Cameroon
  98 CN      China
  99 CO      Colombia
 100 CR      Costa Rica
 101 CU      Cuba
 102 CV      Cape Verde
 103 CW      Curacao
 104 CX      Christmas Island
 105 CY      Cyprus
 106 CZ      Czech Republic
 107 DE      Germany
 108 DJ      Djibouti
 109 DK      Denmark
 110 DM      Dominica
 111 DO      Dominican Republic
 112 DZ      Algeria
 113 EC      Ecuador
 114 EE      Estonia
 115 EG      Egypt
 116 EH      Western Sahara
 117 ER      Eritrea
 118 ES      Spain
 119 ET      Ethiopia
 120 FI      Finland
 121 FJ      Fiji
 122 FK      Falkland Islands
 123 FM      Micronesia
 124 FO      Faroe Islands
 125 FR      France
 126 GA      Gabon
 127 GB      Britain (UK)
 128 GD      Grenada
 129 GE      Georgia
 130 GF      French Guiana
 131 GG      Guernsey
 132 GH      Ghana
 133 GI      Gibraltar
 134 GL      Greenland
 135 GM      Gambia
 136 GN      Guinea
 137 GP      Guadeloupe
 138 GQ      Equatorial Guinea
 139 GR      Greece
 140 GS      South Georgia & the South Sandwich Islands
 141 GT      Guatemala
 142 GU      Guam
 143 GW      Guinea-Bissau
 144 GY      Guyana
 145 HK      Hong Kong
 146 HM      Heard Island & McDonald Islands
 147 HN      Honduras
 148 HR      Croatia
 149 HT      Haiti
 150 HU      Hungary
 151 ID      Indonesia
 152 IE      Ireland
 153 IL      Israel
 154 IM      Isle of Man
 155 IN      India
 156 IO      British Indian Ocean Territory
 157 IQ      Iraq
 158 IR      Iran
 159 IS      Iceland
 160 IT      Italy
 161 JE      Jersey
 162 JM      Jamaica
 163 JO      Jordan
 164 JP      Japan
 165 KE      Kenya
 166 KG      Kyrgyzstan
 167 KH      Cambodia
 168 KI      Kiribati
 169 KM      Comoros
 170 KN      St Kitts & Nevis
 171 KP      Korea (North)
 172 KR      Korea (South)
 173 KW      Kuwait
 174 KY      Cayman Islands
 175 KZ      Kazakhstan
 176 LA      Laos
 177 LB      Lebanon
 178 LC      St Lucia
 179 LI      Liechtenstein
 180 LK      Sri Lanka
 181 LR      Liberia
 182 LS      Lesotho
 183 LT      Lithuania
 184 LU      Luxembourg
 185 LV      Latvia
 186 LY      Libya
 187 MA      Morocco
 188 MC      Monaco
 189 MD      Moldova
 190 ME      Montenegro
 191 MF      St Martin (French part)
 192 MG      Madagascar
 193 MH      Marshall Islands
 194 MK      Macedonia
 195 ML      Mali
 196 MM      Myanmar (Burma)
 197 MN      Mongolia
 198 MO      Macau
 199 MP      Northern Mariana Islands
 200 MQ      Martinique
 201 MR      Mauritania
 202 MS      Montserrat
 203 MT      Malta
 204 MU      Mauritius
 205 MV      Maldives
 206 MW      Malawi
 207 MX      Mexico
 208 MY      Malaysia
 209 MZ      Mozambique
 210 NA      Namibia
 211 NC      New Caledonia
 212 NE      Niger
 213 NF      Norfolk Island
 214 NG      Nigeria
 215 NI      Nicaragua
 216 NL      Netherlands
 217 NO      Norway
 218 NP      Nepal
 219 NR      Nauru
 220 NU      Niue
 221 NZ      New Zealand
 222 OM      Oman
 223 PA      Panama
 224 PE      Peru
 225 PF      French Polynesia
 226 PG      Papua New Guinea
 227 PH      Philippines
 228 PK      Pakistan
 229 PL      Poland
 230 PM      St Pierre & Miquelon
 231 PN      Pitcairn
 232 PR      Puerto Rico
 233 PS      Palestine
 234 PT      Portugal
 235 PW      Palau
 236 PY      Paraguay
 237 QA      Qatar
 238 RE      Reunion
 239 RO      Romania
 240 RS      Serbia
 241 RU      Russia
 242 RW      Rwanda
 243 SA      Saudi Arabia
 244 SB      Solomon Islands
 245 SC      Seychelles
 246 SD      Sudan
 247 SE      Sweden
 248 SG      Singapore
 249 SH      St Helena
 250 SI      Slovenia
 251 SJ      Svalbard & Jan Mayen
 252 SK      Slovakia
 253 SL      Sierra Leone
 254 SM      San Marino
 255 SN      Senegal
 256 SO      Somalia
 257 SR      Suriname
 258 SS      South Sudan
 259 ST      Sao Tome & Principe
 260 SV      El Salvador
 261 SX      Sint Maarten
 262 SY      Syria
 263 SZ      Swaziland
 264 TC      Turks & Caicos Is
 265 TD      Chad
 266 TF      French Southern & Antarctic Lands
 267 TG      Togo
 268 TH      Thailand
 269 TJ      Tajikistan
 270 TK      Tokelau
 271 TL      East Timor
 272 TM      Turkmenistan
 273 TN      Tunisia
 274 TO      Tonga
 275 TR      Turkey
 276 TT      Trinidad & Tobago
 277 TV      Tuvalu
 278 TW      Taiwan
 279 TZ      Tanzania
 280 UA      Ukraine
 281 UG      Uganda
 282 UM      US minor outlying islands
 283 US      United States
 284 UY      Uruguay
 285 UZ      Uzbekistan
 286 VA      Vatican City
 287 VC      St Vincent
 288 VE      Venezuela
 289 VG      Virgin Islands (UK)
 290 VI      Virgin Islands (US)
 291 VN      Vietnam
 292 VU      Vanuatu
 293 WF      Wallis & Futuna
 294 WS      Samoa (western)
 295 YE      Yemen
 296 YT      Mayotte
 297 ZA      South Africa
 298 ZM      Zambia
 299 ZW      Zimbabwe