[shared] Converted files with country codes to UTF-8.

This commit is contained in:
Gaetan Delannay 2012-12-14 14:50:23 +01:00
parent 0dae8b1888
commit 1e3a8ba351
2 changed files with 10 additions and 8 deletions

View file

@ -1,5 +1,5 @@
AFGHANISTAN;AF
ÅLAND ISLANDS;AX
ÅLAND ISLANDS;AX
ALBANIA;AL
ALGERIA;DZ
AMERICAN SAMOA;AS
@ -25,7 +25,7 @@ BENIN;BJ
BERMUDA;BM
BHUTAN;BT
BOLIVIA, PLURINATIONAL STATE OF;BO
BONAIRE, SAINT EUSTATIUS AND SABA;BQ
BONAIRE, SINT EUSTATIUS AND SABA;BQ
BOSNIA AND HERZEGOVINA;BA
BOTSWANA;BW
BOUVET ISLAND;BV
@ -52,10 +52,10 @@ CONGO;CG
CONGO, THE DEMOCRATIC REPUBLIC OF THE;CD
COOK ISLANDS;CK
COSTA RICA;CR
CÔTE D'IVOIRE;CI
CÔTE D'IVOIRE;CI
CROATIA;HR
CUBA;CU
CURAÇAO;CW
CURAÇAO;CW
CYPRUS;CY
CZECH REPUBLIC;CZ
DENMARK;DK
@ -124,7 +124,7 @@ LATVIA;LV
LEBANON;LB
LESOTHO;LS
LIBERIA;LR
LIBYAN ARAB JAMAHIRIYA;LY
LIBYA;LY
LIECHTENSTEIN;LI
LITHUANIA;LT
LUXEMBOURG;LU
@ -178,11 +178,11 @@ POLAND;PL
PORTUGAL;PT
PUERTO RICO;PR
QATAR;QA
RÉUNION;RE
RÉUNION;RE
ROMANIA;RO
RUSSIAN FEDERATION;RU
RWANDA;RW
SAINT BARTHÉLEMY;BL
SAINT BARTHÉLEMY;BL
SAINT HELENA, ASCENSION AND TRISTAN DA CUNHA;SH
SAINT KITTS AND NEVIS;KN
SAINT LUCIA;LC
@ -205,6 +205,7 @@ SOLOMON ISLANDS;SB
SOMALIA;SO
SOUTH AFRICA;ZA
SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS;GS
SOUTH SUDAN;SS
SPAIN;ES
SRI LANKA;LK
SUDAN;SD
@ -246,4 +247,3 @@ WESTERN SAHARA;EH
YEMEN;YE
ZAMBIA;ZM
ZIMBABWE;ZW

View file

@ -230,6 +230,8 @@ class Countries:
(first line has been removed).'''
def __init__(self):
# This file has been downloaded from
# http://www.iso.org/iso/country_codes.htm and converted to utf-8.
self.fileName = os.path.dirname(__file__) + '/CountryCodesIso3166.1.txt'
self.countryCodes = []
# Names of countries in English