# Country Codes for Use with jldb.tcl

This is a list of country codes for specifying a user's language preference in jstools applications or applications that use the jstools libraries. It's based on the twoletter country (or region) codes used as toplevel Internet domains. They are based in turn on the ISO 3166:1988 standard for representing country names, with the difference that `uk` (United Kingdom) is used in place of `gb` (Great Britain).

I got this list from a posting to the `comp.std.internat` newsgroup; unfortunately, I've lost the information about who compiled it. Also, it's somewhat out of date, particularly as regards Eastern Europe. If you have a more current list, or better yet, a URL for a version of this list that's kept uptodate, please send me mail at `<js@aq.org>` and let me know about it.

    Country                                      Code
    ==============================               ====
    ALBANIA                                       al
    ALGERIA                                       dz
    AMERICAN SAMOA                                as
    ANDORRA                                       ad
    ANGOLA                                        ao
    ANGUILLA                                      ai
    ANTARCTICA                                    aq
    ANTIGUA AND BARBUDA                           ag
    ARGENTINA                                     ar
    ARUBA                                         aw
    AUSTRALIA                                     au
    AUSTRIA                                       at
    BAHAMAS                                       bs
    BAHRAIN                                       bh
    BANGLADESH                                    bd
    BARBADOS                                      bb
    BELGIUM                                       be
    BELIZE                                        bz
    BENIN                                         bj
    BERMUDA                                       bm
    BHUTAN                                        bt
    BOLIVIA                                       bo
    BOTSWANA                                      bw
    BOUVET ISLAND                                 bv
    BRAZIL                                        br
    BRITISH INDIAN OCEAN TERRITORY                io
    BRUNEI DARUSSALAM                             bn
    BULGARIA                                      bg
    BURKINA FASO                                  bf
    BURUNDI                                       bi
    BYELORUSSIAN SSR                              by
    CAMBODIA                                      kh
    CAMEROON                                      cm
    CANADA                                        ca
    CAPE VERDE                                    cv
    CAYMAN ISLANDS                                ky
    CENTRAL AFRICAN REPUBLIC                      cf
    CHAD                                          td
    CHILE                                         cl
    CHINA                                         cn
    CHRISTMAS ISLAND                              cx
    COCOS (KEELING) ISLANDS                       cc
    COLOMBIA                                      co
    COMOROS                                       km
    CONGO                                         cg
    COOK ISLANDS                                  ck
    COSTA RICA                                    cr
    COTE D'IVOIRE                                 ci
    CUBA                                          cu
    CYPRUS                                        cy
    CZECHOSLOVAKIA                                cs
    DENMARK                                       dk
    DJIBOUTI                                      dj
    DOMINICA                                      dm
    DOMINICAN REPUBLIC                            do
    EAST TIMOR                                    tp
    ECUADOR                                       ec
    EGYPT                                         eg
    EL SALVADOR                                   sv
    EQUATORIAL GUINEA                             gq
    ETHIOPIA                                      et
    FALKLAND ISLANDS (MALVINAS)                   fk
    FAROE ISLANDS                                 fo
    FIJI                                          fj
    FINLAND                                       fi
    FRANCE                                        fr
    FRENCH GUIANA                                 gf
    FRENCH POLYNESIA                              pf
    FRENCH SOUTHERN TERRITORIES                   tf
    GABON                                         ga
    GAMBIA                                        gm
    GERMANY                                       de
    GHANA                                         gh
    GIBRALTAR                                     gi
    GREECE                                        gr
    GREENLAND                                     gl
    GRENADA                                       gd
    GUADELOUPE                                    gp
    GUAM                                          gu
    GUATEMALA                                     gt
    GUINEA                                        gn
    GUINEA-BISSAU                                 gw
    GUYANA                                        gy
    HAITI                                         ht
    HEARD AND MC DONALD ISLANDS                   hm
    HONDURAS                                      hn
    HONG KONG                                     hk
    HUNGARY                                       hu
    ICELAND                                       is
    INDIA                                         in
    INDONESIA                                     id
    IRAN (ISLAMIC REPUBLIC OF)                    ir
    IRAQ                                          iq
    IRELAND                                       ie
    ISRAEL                                        il
    ITALY                                         it
    JAMAICA                                       jm
    JAPAN                                         jp
    JORDAN                                        jo
    KENYA                                         ke
    KIRIBATI                                      ki
    KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF        kp
    KOREA, REPUBLIC OF                            kr
    KUWAIT                                        kw
    LAO PEOPLE'S DEMOCRATIC REPUBLIC              la
    LEBANON                                       lb
    LESOTHO                                       ls
    LIBERIA                                       lr
    LIBYAN ARAB JAMAHIRIYA                        ly
    LIECHTENSTEIN                                 li
    LUXEMBOURG                                    lu
    MACAU                                         mo
    MADAGASCAR                                    mg
    MALAWI                                        mw
    MALAYSIA                                      my
    MALDIVES                                      mv
    MALI                                          ml
    MALTA                                         mt
    MARSHALL ISLANDS                              mh
    MARTINIQUE                                    mq
    MAURITANIA                                    mr
    MAURITIUS                                     mu
    MEXICO                                        mx
    MICRONESIA                                    fm
    MONACO                                        mc
    MONGOLIA                                      mn
    MONTSERRAT                                    ms
    MOROCCO                                       ma
    MOZAMBIQUE                                    mz
    MYANMAR                                       mm
    NAMIBIA                                       na
    NAURU                                         nr
    NEPAL                                         np
    NETHERLANDS                                   nl
    NETHERLANDS ANTILLES                          an
    NEUTRAL ZONE                                  nt
    NEW CALEDONIA                                 nc
    NEW ZEALAND                                   nz
    NICARAGUA                                     ni
    NIGER                                         ne
    NIGERIA                                       ng
    NIUE                                          nu
    NORFOLK ISLAND                                nf
    NORTHERN MARIANA ISLANDS                      mp
    NORWAY                                        no
    OMAN                                          om
    PAKISTAN                                      pk
    PALAU                                         pw
    PANAMA                                        pa
    PAPUA NEW GUINEA                              pg
    PARAGUAY                                      py
    PERU                                          pe
    PHILIPPINES                                   ph
    PITCAIRN                                      pn
    POLAND                                        pl
    PORTUGAL                                      pt
    PUERTO RICO                                   pr
    QATAR                                         qa
    REUNION                                       re
    ROMANIA                                       ro
    RWANDA                                        rw
    ST. HELENA                                    sh
    SAINT KITTS AND NEVIS                         kn
    SAINT LUCIA                                   lc
    ST. PIERRE AND MIQUELON                       pm
    SAINT VINCENT AND THE GRENADINES              vc
    SAMOA                                         ws
    SAN MARINO                                    sm
    SAO TOME AND PRINCIPE                         st
    SAUDI ARABIA                                  sa
    SENEGAL                                       sn
    SEYCHELLES                                    sc
    SIERRA LEONE                                  sl
    SINGAPORE                                     sg
    SOLOMON ISLANDS                               sb
    SOMALIA                                       so
    SOUTH AFRICA                                  za
    SPAIN                                         es
    SRI LANKA                                     lk
    SUDAN                                         sd
    SURINAME                                      sr
    SVALBARD AND JAN MAYEN ISLANDS                sj
    SWAZILAND                                     sz
    SWEDEN                                        se
    SWITZERLAND                                   ch
    SYRIAN ARAB REPUBLIC                          sy
    TAIWAN, PROVINCE OF CHINA                     tw
    TANZANIA, UNITED REPUBLIC OF                  tz
    THAILAND                                      th
    TOGO                                          tg
    TOKELAU                                       tk
    TONGA                                         to
    TRINIDAD AND TOBAGO                           tt
    TUNISIA                                       tn
    TURKEY                                        tr
    TURKS AND CAICOS ISLANDS                      tc
    TUVALU                                        tv
    UGANDA                                        ug
    UKRAINIAN SSR                                 ua
    UNITED ARAB EMIRATES                          ae
    UNITED KINGDOM                                gb (but use uk instead)
    UNITED STATES                                 us
    UNITED STATES MINOR OUTLYING ISLANDS          um
    URUGUAY                                       uy
    USSR                                          su (obsolete)
    VANUATU                                       vu
    VATICAN CITY STATE (HOLY SEE)                 va
    VENEZUELA                                     ve
    VIET NAM                                      vn
    VIRGIN ISLANDS (BRITISH)                      vg
    VIRGIN ISLANDS (U.S.)                         vi
    WALLIS AND FUTUNA ISLANDS                     wf
    WESTERN SAHARA                                eh
    YEMEN, REPUBLIC OF                            ye
    YUGOSLAVIA                                    yu
    ZAIRE                                         zr
    ZAMBIA                                        zm
    ZIMBABWE                                      zw