Sep-27-2018, 01:27 AM
0xb0 is the degree symbol. The interpreter is saying that it cannot decode that byte using the UTF-8 encoding. In your call to open(), try this:
f = open("cities.txt", "r", encoding = "utf-16")