iERP-ai / businesswithcovid-generator

Script generating data for the businesswithcorona.com - generatorrrr
http://businesswithcorona.com
0 stars 0 forks source link

Encoding issue for Cote d'Ivoire #11

Closed flesicek closed 4 years ago

flesicek commented 4 years ago

This line is not corrently mapping cote d'Ivoire

d_name2alpha["Cote d'Ivoire"] = d_name2alpha["Côte d'Ivoire"]

tommycarstensen commented 4 years ago

I'm not quite sure how to fix this encoding problem. I can't replicate it, because my system settings are different.

OK, I came up with a fix. I just hard coded it: d_name2alpha["Cote d'Ivoire"] = 'CIV'

I double checked the alpha3 code on Wikipedia: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3