diff --git a/data.xml b/data.xml
index 87a21b5cd9..a5c083bac3 100644
--- a/data.xml
+++ b/data.xml
@@ -9847,7 +9847,7 @@
- Damen and Diu
+ Daman and Diu
IN-DD
union territory
@@ -9973,7 +9973,7 @@
- Orissa
+ Odisha
IN-OR
state
@@ -10007,6 +10007,13 @@
+
+ Telangana
+ IN-TG
+ state
+
+
+
Tamil Nadu
IN-TN
@@ -26289,9 +26296,9 @@
-
+
Gauteng
- ZA-GP
+ ZA-GT
province
@@ -26317,6 +26324,13 @@
+
+ Kwazulu-Natal
+ ZA-NL
+ province
+
+
+
North-West (South Africa)
ZA-NW
@@ -26331,13 +26345,6 @@
-
- Kwazulu-Natal
- ZA-ZN
- province
-
-
-
Western
ZM-01
diff --git a/scripts/countries.py b/scripts/countries.py
index 4765ff74da..1f9b3d137d 100755
--- a/scripts/countries.py
+++ b/scripts/countries.py
@@ -18,7 +18,7 @@ for country in pycountry.countries:
%s
\n''' % (country.alpha_2.lower(), country.name,
country.alpha_2, country.alpha_3, country.numeric)
- sys.stdout.write(record.encode('utf-8'))
+ sys.stdout.write(record)
sys.stdout.write(' \n')
subdivision_codes = {s.code.lower() for s in pycountry.subdivisions}
@@ -48,7 +48,7 @@ while existing_parents < subdivision_codes:
\n''' % subdivision.country.alpha_2.lower()
- sys.stdout.write(record.encode('utf-8'))
+ sys.stdout.write(record)
sys.stdout.write(' \n')
existing_parents |= new_parents