David-Haim-zz / CountriesToCitiesJSON

Json mapping the countries of the world to their cities
223 stars 98 forks source link

Broken encoding? #5

Open pixelogik opened 8 years ago

pixelogik commented 8 years ago

Special characters of German cities are broken (ü,ä).

"Osnabrück" is "Osnabrück" "Garching bei München" is "Garching bei Munchen" "Lübeck" is "Lübeck"

bsodmike commented 8 years ago

Same issue for Irish cities.

sanmen1593 commented 8 years ago

Same issue with almost every citie that has tildes. Example: Medellín in Colombia appears as Medellín.

Any hints of how to fix this?

bsodmike commented 8 years ago

Since I'm coding in Ruby, I ditching this in favour of https://github.com/loureirorg/city-state/ which uses the Maxmind DB. You can parse this date yourself quite easily https://www.maxmind.com/en/free-world-cities-database