From 1e3a8ba3517f2da303977648b7f0b9c46ed77952 Mon Sep 17 00:00:00 2001 From: Gaetan Delannay Date: Fri, 14 Dec 2012 14:50:23 +0100 Subject: [PATCH] [shared] Converted files with country codes to UTF-8. --- shared/data/CountryCodesIso3166.1.txt | 16 ++++++++-------- shared/data/__init__.py | 2 ++ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/shared/data/CountryCodesIso3166.1.txt b/shared/data/CountryCodesIso3166.1.txt index 86a76ed..b2a8384 100644 --- a/shared/data/CountryCodesIso3166.1.txt +++ b/shared/data/CountryCodesIso3166.1.txt @@ -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 - diff --git a/shared/data/__init__.py b/shared/data/__init__.py index ba08dd7..dc72dae 100644 --- a/shared/data/__init__.py +++ b/shared/data/__init__.py @@ -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