I'm just starting here, I hope I follow all the rules.
I have a dictionary with its key-value pairs as {..., 'CL': 'León', ...}
matching the abbreviation of Spanish regions (i.e. 'CL') to one city in each (i.e. León). I included the line
# _*_ coding: utf-8 _*_
at the beginning so I was able to use utf characters like tildes. The thing is that when I print out individual values everything goes well and the output includes the tildes correctly:
print cities['CL']
However when I print out the whole dictionary as:
print cities
I've got double-byte hex characters, in this case \xc3\xb3
.
Why is this? Thanks in advance.